User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 455,996 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,822 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 345
Search took 0.03 seconds.
Posts Made By: Ghost
Forum: Java Aug 29th, 2008
Replies: 1
Views: 278
Posted By Ghost
Robot class won't click the mouse

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: 308
Posted By Ghost
Read a text file from a website

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 br...
Forum: Website Reviews Aug 2nd, 2008
Replies: 0
Views: 261
Posted By Ghost
Review Please!

I've been working on a pet project that involves collecting user-generated cell reception data and plotting it on a map. The data points are currently available only for TMobile, as that is the...
Forum: PHP Dec 25th, 2007
Replies: 3
Views: 1,409
Posted By Ghost
Re: Deleting a line from a file

Thanks for your help! There is no database for me to use (I'm using a free web host).
Also, I'm not getting any error message. Instead, it is just not deleting anything from the file. I will try...
Forum: PHP Dec 24th, 2007
Replies: 3
Views: 1,409
Posted By Ghost
Deleting a line from a file

Hi,

I'm trying to fully automate my website, and I'm trying to delete a line from a file that matches the line in a given String.
For example, I have a txt file named toApprove.txt containing a list...
Forum: Java Aug 21st, 2007
Replies: 15
Views: 1,413
Posted By Ghost
Re: Changing the icons of JButtons

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 all...
Forum: Java Aug 21st, 2007
Replies: 15
Views: 1,413
Posted By Ghost
Re: Changing the icons of JButtons

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: 1,413
Posted By Ghost
Re: Changing the icons of JButtons

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: 1,413
Posted By Ghost
Re: Changing the icons of JButtons

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: 1,413
Posted By Ghost
Changing the icons of JButtons

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: 3,559
Posted By Ghost
Re: SetBounds of Components

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: 3,559
Posted By Ghost
Re: SetBounds of Components

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 to...
Forum: Java Jun 25th, 2007
Replies: 12
Views: 3,559
Posted By Ghost
Re: SetBounds of Components

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: 3,559
Posted By Ghost
Re: SetBounds of Components

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 should...
Forum: Java Jun 24th, 2007
Replies: 12
Views: 3,559
Posted By Ghost
Re: SetBounds of Components

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: 3,559
Posted By Ghost
Question SetBounds of Components

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: 17
Views: 6,901
Posted By Ghost
Re: Making A Java Compiler... In Java

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: 1,716
Posted By Ghost
Re: Sockets problem

Am I doing something wrong or have you guys just not seen this thread?
Forum: Website Reviews Dec 21st, 2005
Replies: 4
Views: 1,237
Posted By Ghost
Please review cinnamonresearchanddevelopment.com

Hi,

Would you mind reviewing cinnamonresearchanddevelopment.com? Do you like the layout/logos? Thanks.
Forum: Website Reviews Dec 13th, 2005
Replies: 2
Views: 1,214
Posted By Ghost
Re: Please Review UberAAZ.com

The site doesn't work!
Forum: Website Reviews Dec 10th, 2005
Replies: 1
Views: 966
Posted By Ghost
Re: Please Review my Sites

Will someone please review them?
Forum: Java Dec 10th, 2005
Replies: 9
Views: 1,716
Posted By Ghost
Re: Sockets problem

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: 1,716
Posted By Ghost
Re: Sockets problem

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: 1,716
Posted By Ghost
Re: Sockets problem

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: 1,716
Posted By Ghost
Re: Sockets problem

Can someone PLEASE help?

Thanks.
Forum: Website Reviews Dec 1st, 2005
Replies: 1
Views: 966
Posted By Ghost
Please Review my Sites

Here are my sites:

http://www.cinnamonresearchanddevelopment.com
http://www.anthroeducation.com

Thanks!
Forum: Java Nov 28th, 2005
Replies: 7
Views: 4,563
Posted By Ghost
Re: Writing Applet ActionListener Mortgage Calculator

Also, make sure you added the actionlistener to the component.
Forum: Java Nov 27th, 2005
Replies: 7
Views: 4,563
Posted By Ghost
Re: Writing Applet ActionListener Mortgage Calculator

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: 1,716
Posted By Ghost
Question Sockets problem

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,249
Posted By Ghost
Re: Ideas...

Whoa!!! That's awesome! How did you do that?
Forum: Java Nov 25th, 2005
Replies: 5
Views: 1,249
Posted By Ghost
Re: Ideas...

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,055
Posted By Ghost
Re: Wat style???

How would you create your own look & feel?
Forum: Java Nov 24th, 2005
Replies: 5
Views: 1,249
Posted By Ghost
Ideas...

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: Search Engine Optimization Nov 12th, 2005
Replies: 13
Views: 3,395
Posted By Ghost
My Sites Aren't Getting Listed On Google!!!

Hi Everyone,

I'm webmaster of two sites

I've submitted << snipped >> to google >100 times, and it still isn't listed! I submmitted through this site:...
Forum: Website Reviews Nov 10th, 2005
Replies: 7
Views: 1,647
Posted By Ghost
Re: Please Review My Site

Hi Guys,

I updated both sites, so what do you think of them now?

Thanks.
Forum: PHP Oct 25th, 2005
Replies: 2
Views: 1,242
Posted By Ghost
Re: Mail Client

Yes, a free one like Yahoo or GMail.
Forum: PHP Oct 24th, 2005
Replies: 2
Views: 1,242
Posted By Ghost
Mail Client

Does anybody have any ideas on how to make your own email program? Could you use the mail function and restrict access?
Forum: Website Reviews Oct 22nd, 2005
Replies: 7
Views: 1,647
Posted By Ghost
Please Review My Site

Here are my sites:

anthroeducation.com (http://
http://www.anthroeducation.com)

and

cinnamonresearchanddevelopment.com (http://www.
http://www.cinnamonresearchanddevelopment.com)
Forum: Java Oct 20th, 2005
Replies: 8
Views: 3,241
Posted By Ghost
Re: Parsing a String

Hooknc, would you mind answering my questions? Thanks.
Forum: Java Oct 17th, 2005
Replies: 8
Views: 3,241
Posted By Ghost
Re: Parsing a String

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.
Showing results 1 to 40 of 345

 
All times are GMT -4. The time now is 9:41 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC