| Thread | Last Post | Replies |
|
| Removing blanks spaces | 28 Jun 2007 13:41 GMT | 3 |
How would I remove spaces either trailing or following? For example if I have a variable x = " 10" and I would like to remove the 4 spaces before the 10 so that the variable x = "10". Also if I again have a variable x = "10 " and I would like to remove the
|
| Sort Method Conversion | 28 Jun 2007 13:20 GMT | 2 |
I need to modify this method to sort an array of strings rather than chars: // selectionSort(): sorts the elements of a public static void selectionSort(char[] v) {
|
| Reading from a Random Access File | 27 Jun 2007 15:23 GMT | 5 |
Hi and thanks for your help. I used the code that you provided me and it comes up with the following output messages. I have changed the system.out a little to make it clear for me what information was being outputted to the screen.
|
| Design qq | 26 Jun 2007 18:25 GMT | 5 |
... is it better to have a program with, say, 10 methods and then call each 10 from the mainline OR have the mainline call the first which calls the second which calls ... the second ... the third ... thr tenth.?
|
| Help for solving Tomcat Related Error | 25 Jun 2007 20:48 GMT | 2 |
Hello Friends, I need help for doing program using Tomcat servlet. Actually, i am working on program in which servlet collects input from form, including first name, second name. and Display the output to the
|
| why does this only except font the second time | 25 Jun 2007 16:21 GMT | 1 |
I was wondering why this code makes me pick the font twice? I pick a font, click ok, and the dialog box pops up again, pick a font, click ok, and then it excepts it. I commented out the original line an replace it with...
|
| Factor of a number | 24 Jun 2007 02:15 GMT | 5 |
Good evening i have quick question: I want to add a feature which will allow me to to show the factor of a number inputted What would be the best way to do this by implementing this into my Prime Calculator Method or create a new method?
|
| Problem with reading all rows in excel sheet | 23 Jun 2007 18:27 GMT | 6 |
I'm trying to read an excel file in Java (it contains 2 columns of number). But for some reason, when reading it I'm not getting the first reccord. In other words, the following code display the data from row 2 and +. public void test()
|
| printing in bold and colors | 23 Jun 2007 12:04 GMT | 15 |
How would I print out the following in bold and in red. System.out.printf("Sum of Parts " + "\n"); How would I do it. TIA
|
| actionperformed ... | 22 Jun 2007 22:30 GMT | 4 |
... do i need one for a joptionpane ??? b
 Signature Sometimes I'm in a good mood.
|
| returning booleans | 22 Jun 2007 15:25 GMT | 31 |
My boss likes code like this if(booleanReturningMethod()) { return true;
|
| spinner stagechange hlp. | 22 Jun 2007 10:54 GMT | 2 |
Kevin W Mc Auley wrote:
> ... i am having serious trouble with capturing the value when i try to 'setirt'.
> my spinners are fine except fot that. any help??? |
| Problem reading random access file | 22 Jun 2007 07:10 GMT | 2 |
Hi all. I am trying to develop a program that will shutdown a group of computers attached to a network using using a java application. I am writing the room numbers and the number of computers per a room within a random access file which the program will then read back in. I have
|
| Using Ant to compile | 22 Jun 2007 07:07 GMT | 2 |
My directory structure looks like this p1 - build.xml |- src |- dist
|
| printing the "%" charcter | 21 Jun 2007 18:18 GMT | 5 |
I am trying to print out the "%" character but I get an error. This is my statement: System.out.printf("Odds same percentage Move " + sInteger15 + "%" + "\n", iDirectionOdds);
|