Forum: Java Nov 14th, 2006 |
| Replies: 3 Views: 3,897 You have the actionPerformed:
publicvoid actionPerformed(ActionEvent e)
{
con.add(tryagain);
con.add(correct); |
Forum: Java Aug 20th, 2006 |
| Replies: 1 Views: 986 Ohh, you have an environment variable issue. Check the java.sun site to get the latest info on how to correctly set your variables. |
Forum: Java Aug 15th, 2006 |
| Replies: 1 Views: 945 You can't create a discussion forum in IIS server, but you can make it run on ISS. |
Forum: Java Aug 14th, 2006 |
| Replies: 2 Views: 3,165 Best thing to do is find a tough problem and solve. Most of what you'll encounter in the workplace is new territory, so know the basics, know how to locate and search through API's and get good at... |
Forum: Java Aug 13th, 2006 |
| Replies: 6 Views: 3,268 I can't spot anything really wrong, but you could try importing this:
import java.util.Collections.*;
and see if that works. |
Forum: Java Aug 12th, 2006 |
| Replies: 4 Views: 2,906 I wouldn't start with GridBag right away. It's 'slightly' more complicated than the others and almost everytime you'll end up using several different layout managers together... Not just one. ... |
Forum: Java Aug 12th, 2006 |
| Replies: 1 Views: 1,914 Take a look at the StringTokenizer or Regex packages and then get back if you still have questions. You should be able to specify white space as a delimiter and quickly be able to count the number... |
Forum: Java Aug 11th, 2006 |
| Replies: 14 Views: 2,540 baaaaaawhhhahhahhahahaha.
What about one of those fart noise makers? Press a button and it makes a fart noise. Have it select a random fart each time the button is pressed. You could also... |
Forum: Java Aug 10th, 2006 |
| Replies: 3 Views: 1,142 |
Forum: Java Aug 10th, 2006 |
| Replies: 14 Views: 2,540 I'd personally go for a bot that turns linux and mac machines into zombie computers and allow windows machines to use their bandwidth. |
Forum: Java Aug 2nd, 2006 |
| Replies: 10 Views: 5,343 You can't do that unless the Applet is signed. |
Forum: Java Jul 25th, 2006 |
| Replies: 12 Views: 2,506 :lol: You definately should post more often. |
Forum: Java Jul 24th, 2006 |
| Replies: 12 Views: 2,506 :lol: :lol: :lol: :lol: :lol: :lol:
I love threads like these.
Wow? You wanna cookie? |
Forum: Java Jul 23rd, 2006 |
| Replies: 22 Views: 4,409 What's annoying is you can't do a simple calculator program and you want someone else to do it for you. |
Forum: Java Jul 22nd, 2006 |
| Replies: 17 Views: 2,947 Pick up a book and start reading it. Then, when you have a problem try to figure it out yourself. If you can't after some time get it solved, then post back to a forum. Paying for a tutor is a... |
Forum: Java Jul 19th, 2006 |
| Replies: 5 Views: 1,404 So what's the exact problem? Is you're frame showing up? Is it registering the click? Is something printed on the button?
PS: I'm sure it's gallons/miles. |
Forum: Java Jul 18th, 2006 |
| Replies: 5 Views: 1,404 Are you sure the average is not the gallons/miles instead of the other way around? |
Forum: Java Jul 18th, 2006 |
| Replies: 3 Views: 1,151 I have done your homework for you. Please tell me where to send it so you can send it to your professor and get credit for something you didn't do. |
Forum: Java Jul 18th, 2006 |
| Replies: 2 Views: 945 When the page is repainted the whole thing will be repainted, so spliting into sections will not help. Somehow, you'll have to keep static variables to tell your applet what to paint. That... |
Forum: Java Jul 12th, 2006 |
| Replies: 4 Views: 1,197 First of all, try to make your sentences more clear so I can understand. Secondly, are you sure the client has established a connection? |
Forum: Java Jul 11th, 2006 |
| Replies: 4 Views: 975 Are you talking about providing a application that allows plugins (ie skins)? |
Forum: Java Jul 9th, 2006 |
| Replies: 3 Views: 1,589 What do you mean by interactive? I'm not sure that you can really have such a thing in learning programming. I believe there are some courses that's offered by various companies, but be prepared... |
Forum: Java Jul 6th, 2006 |
| Replies: 8 Views: 1,473 set your environment variables. |
Forum: Java Jun 19th, 2006 |
| Replies: 5 Views: 2,148 Did you add the scrollpane to the tabbedpane and then the tabbedpane to the container? Remember, there is no need to add the textarea to the container since it alread has a 'container' and the same... |
Forum: Java Jun 19th, 2006 |
| Replies: 5 Views: 2,148 JTextArea textarea = new JTextArea(params);
JScrollPane test = new JScrollPane(textarea,
JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
... |
Forum: Java Jun 19th, 2006 |
| Replies: 5 Views: 2,148 Create scrollbars that with swing constants that suit you, then setWrapStyleWord(true) to the text area. Then add the JTextArea TO THE JSCROLLBAR. (Then the scrollbar to the container) |
Forum: Java Jun 19th, 2006 |
| Replies: 1 Views: 1,670 I'll wait to see what they post here: http://www.daniweb.com/techtalkforums/thread48047.html |
Forum: Java Jun 17th, 2006 |
| Replies: 2 Views: 2,086 I never heard of it, but a simple google search brought me to some robot. Don't know why that will help you learn Java when it's real use isn't relating to robots. |
Forum: Java Jun 14th, 2006 |
| Replies: 6 Views: 3,099 We can't help you if you don't give us more information....
This:
"Usage: Java ATM databaseDriver databaseURL, Press any key to continue...."
Is not an error message. That is YOUR program... |
Forum: Java Jun 13th, 2006 |
| Replies: 6 Views: 3,099 I don't understand... The "press any key to continue..." tells me your program is running, right? Are you recieving any exception? |
Forum: Java Jun 10th, 2006 |
| Replies: 4 Views: 1,210 Create a JDialog and completely get rid of the bar? |
Forum: Java Jun 6th, 2006 |
| Replies: 3 Views: 10,808 |
Forum: Java Jun 6th, 2006 |
| Replies: 4 Views: 1,295 Is your applet signed? Applets cannot connect to files on a users system, which is probably why you are receiving the connection refused. |
Forum: Java Jun 5th, 2006 |
| Replies: 4 Views: 1,295 What's the nature of the program? Are you trying to connect to something? Can you post the exact error message if there is one? |
Forum: Java Jun 4th, 2006 |
| Replies: 5 Views: 12,732 Sleep or prompt the user?
BufferedReader.readLine()? |
Forum: Java Jun 3rd, 2006 |
| Replies: 3 Views: 2,387 Here's a search query on loop structures:
http://www.google.com/search?hl=en&q=java+looping+structures&btnG=Google+Search |
Forum: Java Jun 1st, 2006 |
| Replies: 9 Views: 1,429 The Java certification book gives you all the details about everything including interfaces and many other things. It's a MUST read if you want specifics. |
Forum: Java May 29th, 2006 |
| Replies: 8 Views: 1,179 |
Forum: Java May 28th, 2006 |
| Replies: 8 Views: 1,179 Ohhhhh, money talks. PM me. |
Forum: Java May 28th, 2006 |
| Replies: 8 Views: 1,179 Sure. I'll write the whole thing for you. |