Originally posted by Adam Blais:
I have declared the following:
The System.out.println sends everything to the console window perfectly, but my output file remains blank and it doesn't seem to want to write to the file. Any help?
Originally posted by kri shan:
I have inner class. How can i add System.out.println()..within inner class...This inner class does not contain main()
Originally posted by Justin Porter:
... I found out from the API that the indexOf method of the arraylist calls the "equals()" method to figure out if it found the right object or not. So that's why I wrote my own equals method. But that equals method is not getting called (I found that out from testing). So how can I make the indexOf() method call my equals() method? Any help would be appreciated!
Originally posted by Lenny Leon:
I'm just starting out learning Java and need a little help. I'm supposed to take this truth table and alter it so it displays 1's and 0's instead of true false. I'm assumed to do this I would just need to change the variable type and replace true and false with 1 and 0 but every way I try this does not work. I would just like for someone to point me in the right direction. I would like an explanation so I could understand instead of just an awnser. Thanks in advance
Originally posted by Saravanan Jothimani:
Please give me a detailed difference between String and StringBuffer
Thanks in Advance
Originally posted by Alisha Burke:
So how do i get the vote button to be just below the textfield/label (that was my main problem actually)....and using the code that you gave me how come the textfields becomes large when i maximize the window(is it suppose to be that way?)