Forum: Java Jan 3rd, 2009 |
| Replies: 6 Views: 656 Yah I was just curious. I already got the SCJA certification, and I wanted to know where I fall in the pool of SCJA certified people (relative to everyone's age). But I guess Sun doesnt publishish... |
Forum: Java Jan 2nd, 2009 |
| Replies: 6 Views: 656 Is it documented?
Or have you heard anything?
just curious...
thanks :) |
Forum: Java Aug 29th, 2008 |
| Replies: 3 Views: 1,179 I have this code:
try
{
robot = new Robot();
robot.mouseMove(0,900);
robot.mousePress(InputEvent.BUTTON1_DOWN_MASK);
... |
Forum: Java Aug 29th, 2008 |
| Replies: 1 Views: 2,413 I need to open a .txt file from a website. I tried this code:
int len = 0;
FileReader fr = new FileReader("http://www.cinndev.com/testFile.txt");
BufferedReader... |
Forum: Java Aug 21st, 2007 |
| Replies: 15 Views: 2,798 Actually, the game is played like this:
*The computer lights up 1 button.
*All buttons go dark
*The player clicks the button the computer lit
*The computer re-lights the original button, and then... |
Forum: Java Aug 21st, 2007 |
| Replies: 15 Views: 2,798 The first time, there is only one blink in the sequence. The next time, there are two blinks... and so on.
Only the first blink works correctly |
Forum: Java Aug 21st, 2007 |
| Replies: 15 Views: 2,798 I tried that, but it did not work. The odd thing is that it works on the first round... but not any of the others.
Thanks for your help! |
Forum: Java Aug 21st, 2007 |
| Replies: 15 Views: 2,798 Thanks, but I'm pretty sure that is not the problem. I think the problem has to do with the JFrame or JButtons not updating... Thanks! |
Forum: Java Aug 21st, 2007 |
| Replies: 15 Views: 2,798 Hi,
I am trying to create a simon-says type game, where there are four icons of different colors. One icon lights up. The user clicks it. Next, a new icon lights up. The user clicks the... |
Forum: Java Jun 27th, 2007 |
| Replies: 12 Views: 8,799 I don't know how I missed that :-O
Sorry!!! :)
But thanks for helping because it worked! |
Forum: Java Jun 25th, 2007 |
| Replies: 12 Views: 8,799 Ahh... now this makes sense :) Thank you.
I want to use pixel locations because my next project is a game where I draw images and they get moved by the keyboard. Therefore, I think it is easier... |
Forum: Java Jun 25th, 2007 |
| Replies: 12 Views: 8,799 Those do not use pixel locations. They simply use a grid that the user defines. I need to use pixel locations. |
Forum: Java Jun 25th, 2007 |
| Replies: 12 Views: 8,799 And why not use a NullLayout? It's an official Java class, so what is wrong with it? Is it just personal preference?
Also, I have seen many, many, many projects/games use this style.
What... |
Forum: Java Jun 24th, 2007 |
| Replies: 12 Views: 8,799 I want to use setBounds, ao what layout should I use? SetBounds doesn't seem to work with a FlowLayout.
Thanks! |
Forum: Java Jun 23rd, 2007 |
| Replies: 12 Views: 8,799 Hi,
I am making tic tac toe, and I basically have it all working, except the GUI has a few bugs. Right now, I am not using a layout. I am using "setBounds" instead.
When a player wins, an image... |
Forum: Java Jan 24th, 2006 |
| Replies: 18 Views: 9,355 I'll help you with your program, but you need to show some effort! At least create the GUI and TRY to send commands to command prompt. Then I'll be glad to help. |
Forum: Java Dec 23rd, 2005 |
| Replies: 9 Views: 2,234 Am I doing something wrong or have you guys just not seen this thread? |
Forum: Java Dec 10th, 2005 |
| Replies: 9 Views: 2,234 Hi Guys,
Sorry I haven't gotten back to you sooner. OK - I used the println function to narrow down the problem. It seems like in the process client/server connections the program freezes. The... |
Forum: Java Dec 4th, 2005 |
| Replies: 9 Views: 2,234 Hi,
It seems like it still doesn't work. All the buttons somehow become disabled after I click connect and they both connect.
Any suggestions? Thanks. |
Forum: Java Dec 4th, 2005 |
| Replies: 9 Views: 2,234 Sorry I didn't specify the question and thank you very much for helping me.
The reason it didn't work is because the default value says the server is selected, but my server variable says... |
Forum: Java Dec 3rd, 2005 |
| Replies: 9 Views: 2,234 Can someone PLEASE help?
Thanks. |
Forum: Java Nov 28th, 2005 |
| Replies: 7 Views: 6,117 Also, make sure you added the actionlistener to the component. |
Forum: Java Nov 27th, 2005 |
| Replies: 7 Views: 6,117 In the action performed method, include all of your current code inside of an if statement that checks which button was clicked.
Example:
if(e.getSource==<name of button>)
{
//CODE GOES HERE.
} |
Forum: Java Nov 26th, 2005 |
| Replies: 9 Views: 2,234 Hi Everyone,
I'm trying to create an instant messaging program, but for some reason the client and server won't connect. My code is below. Thanks in advanced for helping me.
By the way, the... |
Forum: Java Nov 26th, 2005 |
| Replies: 5 Views: 1,517 Whoa!!! That's awesome! How did you do that? |
Forum: Java Nov 25th, 2005 |
| Replies: 5 Views: 1,517 Thanks for your reply, but I'm actually a liitle more experienced with Java than that - I've made a full multiplayer/single player w/ AI tictactoe game. |
Forum: Java Nov 25th, 2005 |
| Replies: 5 Views: 1,306 How would you create your own look & feel? |
Forum: Java Nov 24th, 2005 |
| Replies: 5 Views: 1,517 Hi Everyone,
I want to program something cool (no this isn't for school, just for fun), but I don't know what to program. I wanted to make something that would be fun to make and use, but not too... |
Forum: Java Oct 20th, 2005 |
| Replies: 8 Views: 5,971 Hooknc, would you mind answering my questions? Thanks. |
Forum: Java Oct 17th, 2005 |
| Replies: 8 Views: 5,971 Thanks Nate.
Two questions:
First, how do I get the HTML code into a String?
Second, what do you pass through your method and what does it return?
Thanks. |
Forum: Java Oct 16th, 2005 |
| Replies: 8 Views: 5,971 Thanks, Nate! Does that return all of the links or just one of them? Also, how do you retrieve HTML from a web page
Thanks
One more thing: I made a web browser (the code is below) but it... |
Forum: Java Oct 15th, 2005 |
| Replies: 8 Views: 5,971 Hi Everybody!
I'm trying to create my own web accelerator/browser. When you open a page, it will take all the links on that page and preload them. I just have one question: how do you retrieve... |
Forum: Java Sep 20th, 2005 |
| Replies: 3 Views: 1,355 Thanks. What exactly is native code? What do I need it for? |
Forum: Java Sep 20th, 2005 |
| Replies: 3 Views: 1,355 Hi Everyone,
Is there a way to make your own remote connection program (just for my use - at least fo now)? Something like goToMyPC.
Any suggestions would be appreciated. Also, is this easier... |
Forum: Java Aug 7th, 2005 |
| Replies: 7 Views: 3,440 Would not making it global and passing it through functions help?
Thanks. |
Forum: Java Aug 7th, 2005 |
| Replies: 7 Views: 3,440 thanks, jwenting! so basically, i have to open and close the socket for every message? Thanks. I also updated my code. The server side works, but when I try to get the client working, it freezes... |
Forum: Java Aug 7th, 2005 |
| Replies: 7 Views: 3,440 if anybody has any advice, I would appreciate it. |
Forum: Java Aug 5th, 2005 |
| Replies: 18 Views: 9,355 true, but can you help me with what i have so far?
thanx. |
Forum: Java Aug 5th, 2005 |
| Replies: 7 Views: 3,440 Hi Everyone,
I'm making a Java chat application, but it freezes whenever I click "Connect." My code is attached below. Thanks.
import javax.swing.*;
import javax.swing.event.*;
import... |
Forum: Java Aug 4th, 2005 |
| Replies: 18 Views: 9,355 Hi!
I started to make the compiler but I have some problems. First, it won't compile. Second, I can't get the error messages/output to appear. My code is below. Thanks in advanced for your... |