32,200 Topics

Member Avatar for
Member Avatar for ranindu

hi, When you are using the Jprogressbar the % completed is usually printed in the middle of the bar. Can you change it to be printed at the end of the completed % . is there a method for that??? can anyone help me with this please..............:((

Member Avatar for antaryami
0
87
Member Avatar for MimieIdayu

how do i "hide sheet and hide window" like in spreadsheet.please help me in java swing code...a.s.a.p.thanx:pretty:

Member Avatar for antaryami
0
81
Member Avatar for ndeniche
Member Avatar for vinod_javas

Hi guys.., I am working on RMI Application... server client communication, while running my application in DOS mode i am getting this error can any one help me out for this error? C:\javas>rmic serverimpl Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/java/Consta nts at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 4) at …

Member Avatar for jwenting
0
82
Member Avatar for new_2_java

Hi all, I am using RandomAccessFile, to create a log file. The log file gets created fine, when I open it in UNIX (I mean the display layout). However, when I open the file in Windows, in notepad, then I see instead of '\n' a little square. So all the …

Member Avatar for ~s.o.s~
0
106
Member Avatar for dualcore93

For those of you interested in having a messenger for your cell, I downloaded an application called MiM done in java with witch you can access your MSN and Yahoo! Messenger contacts. It seems that is in a promotional period and its download is completly free, without need of sending …

Member Avatar for jwenting
0
118
Member Avatar for Fenerbahce

Hi, When i press "end" button on keyboard, i want to see "pressed on end button" message on screen. How can i do this. I am new in Java. Thanks

0
63
Member Avatar for akhilesh.nitt

[B]hi all[/B] The Microsoft Jet database engine has an internal limit of 255 fields per query. but my Excel sheet containg more than this. and i have to fetch all the fields of the excel through JDBC. plz help me how can i fetch the data .. [B]thanx in advance …

Member Avatar for masijade
0
56
Member Avatar for l0stb0y2008

hey, I'm a beginner in Java programming. I'm trying to do the vending machine program. And I'm having difficulty doing the do while loop. The scenario is if the user entered invalid input 3 times, it will loop back to the first menu using do while loop and switch case. …

Member Avatar for thuyyeu
0
83
Member Avatar for JavaNewbie07

Hi all, How do I create a bar graph in Java to hold a passed array of units and frequency? Thank youin advance for helping.

Member Avatar for jwenting
0
100
Member Avatar for javageak

I need help in figuring out how to make the code for sentences by determining that there is ., ?, ! in the sentence at the end. And the paragraph where you find each paragraph by the spaces between the lines. If you could just help me start, I'll finish …

Member Avatar for iamthwee
0
93
Member Avatar for javageak

[COLOR=#fa6400]I really need help with this code...I have to display statistics from each and use Scanner and Tokenizer. For displaying each character I have to use Character.isLetter(). Please help me figure out how to display all of these things from a file. //TextFileStats.java //Print out Statistics using StringTokenizer. [/COLOR][COLOR=#941edf]import[/COLOR][COLOR=#000000] java.io.*; …

Member Avatar for iamthwee
0
128
Member Avatar for countrygirl1970

I have a question I am writing this program for class where all of the output goes into one JOptionPane.showMessageDialog for instance I have the The sub total price displayes, the sales tax displayed, and the Grand total displayed in this I also want to display a message if the …

Member Avatar for stultuske
0
94
Member Avatar for realnsleo

hey there, could someone please tell me how to align the cursor to go to the left when someone clicks inside the textfield

Member Avatar for stultuske
0
101
Member Avatar for JavaNewbie07

I need help figuring out how to put the following logic into code: I have a text file that I am reading from, I have been able to code so that it reads four seperate columns; now I need to make one of the columns read (into an array) the …

Member Avatar for lucky1981_iway
0
111
Member Avatar for JavaNewbie07

Hello, I have the following line that prints a year and the matching fruit consumption; however I have 35 elements in each array that this line is got from. I need help creating a loop that will parse rhe arrays and return the figure for each year. //Display for one …

Member Avatar for new_2_java
0
96
Member Avatar for rugae

I would like to make so that when you have a int and prompting user to enter some number for calculations... if the number entered is larger than a 10digits, my program wouldn't just crash or if the user enters a string... I havn't be taught any error catching stuff …

Member Avatar for stultuske
0
143
Member Avatar for honeysmiles

[COLOR=#000000]Build a hash table using chaining as the collision resoultion technique. Insertions into the hash table will correspond to declarations of variables and values in a program, searches will be requests for the value of a variable. Some variables will be local and have a narrow scope while some variables …

Member Avatar for Ancient Dragon
0
156
Member Avatar for realnsleo

hi there, how can i display an error message in java and stop compile program at that point of the error?

Member Avatar for stultuske
0
85
Member Avatar for Rikardsen02754

I only need help with 1 of the programs now. It says to list all the postive integers less than 400 that are divisible by 3

Member Avatar for fraogongi
0
94
Member Avatar for aruna_k_2006

hi everyone, i am doing a project .............i have a problem 1.when i press F4 key i need to get a pop-up window and i need to search names in that poup window . For Example : All the client names start with A 2.when user types A & preees …

Member Avatar for vinod_javas
0
86
Member Avatar for Shakejuhn

i have a problem and i would like to knwo if some one can explain the directions in a simpler form because i have no idea what i am really supposed to do like how many classes i need if i need any and what should go in main. the …

Member Avatar for alpha_foobar
0
194
Member Avatar for new_2_java

Hi all, I would like to know what is the difference between OutputStream and BufferedWriter objects? Can I use them interchangeabally? Reason is because I created a job that has to run every, lets say, 5 minutes. The problem is that when I run my java program manually from the …

Member Avatar for new_2_java
0
146
Member Avatar for realnsleo

okay..could someone tell me how to check if someone put in a float value in a text field. and if not how can i generate a dialogue box with an error. This is how it looks [code]marks1 = Float.parseFloat(tf1.getText().trim());[/code] i stored the contents of the textfield into marks1. How can …

Member Avatar for realnapster
0
70
Member Avatar for bondo

Dear god. this is driving me crazy. I'm working on an assignment involving inheritence, multiple classes, etc. I'm stuck at one stupid part. I have to write a toString method that formats the text. Is there a way to return a string with formatted text? I know about the printf …

Member Avatar for bondo
0
230
Member Avatar for realnsleo

hi people...please help me with this..i writing a program with textfields that a user is supposed to put data in, how can i create an error message and/or a beep to pop up when the user has not entered a value in a textfield..

Member Avatar for peter_budo
0
96
Member Avatar for Casperjames

[CODE]/** * Finds the angles of A, B, and C when given the sides. * Caleb Hess * 4/27/07 */ public class Triangle { /** *@param a the length of a for the triangle *@param b the length of b for the triangle *@param c the length of c for …

Member Avatar for Casperjames
0
238
Member Avatar for bmxer84

In my program I get input from the user (type of topping for a pizza) then if there aren't enough left I have to let them change or cancel that topping. I do this with a for loop, my question is: how do I make it so it breaks out …

Member Avatar for Fungus1487
0
158
Member Avatar for sonicvalley

i need java JRE to runa program but i cant seem to get it installed. i always get this weird error. any help? thanks

Member Avatar for sonicvalley
0
68
Member Avatar for n3zor

An island has two kinds of inhabitants: [I]Knights[/I]: Always tell the truth [I]Knaves[/I]: Always Lie You encounter two people A and B. You ask the user to enter what A and B say. Your program should output the conclusions (if possible) about the identities of A and B. For example …

Member Avatar for jwenting
0
95

The End.