your not telling the server what its host IP is.. the port is set to 12345 which is sort of dramatic but should be fine for an example run / learning developer. However you will need to set the IP of...
Type: Posts; User: macko
your not telling the server what its host IP is.. the port is set to 12345 which is sort of dramatic but should be fine for an example run / learning developer. However you will need to set the IP of...
I have already replied to the thread you posted the exact question on
http://www.javaprogrammingforums.com/whats-wrong-my-code/32740-pls-me-out-arrays-number-print.html#post125514
don't post...
what is the problem with it exactly.. explain more what the problem is and what you are trying to achive..
--- Update ---
also System.out.println(aryNums[][] + " ");
sounds like its...
I would actually create a for loop, First detect how many files there are... Next you want to read the file one by one, Store each line using a scanner or some other file reader method to store line...
hi, Silly question however. I'm testing a couple of problems, For example disable all components in the swing class that extends JApplet.
For example this code:
public class gameLobby extends...
g.drawLine(10, 20, 300, 200);
g.drawRect(100, 100, 50, 70);
g.setColor(Color.BLUE);
g.fillOval(x, y, 40, 40);
it's only these lines that are using the paint method....
Hey, I'm curious is there any way around this?
I know safari have java plugin blocked for a fair reason. And java still works on firefox..
However firefox is slow, I would prefer to get around it...
lmao copeg..
Your JDE should have an auto format option.
first of all.. why do u want to create a rich text area? Cant you simply add the radio button to a new panel..
also.. try creating and adding the radio button to the component u want it on.. and...
break it down to points. do a search on each part of the question you need to further understand the meaning of.
"usually you would create an algorithm before developing a program or in this case...
when you have got the user to successfully finish the loop. then use
break;
to break the loop and end it..
Create a JTable, User a custom cell renderer (google it).
Then create a database class that connects to the database (google it again).
Its all on google :) just look around and try things, We...
Got it solved by using JLabel and adding html into the string..
It may not be a executable jar, If it's not. Then figure out the main class and run it via a sample html page.
Also.. If the jar isnt signed it sometimes causes problems also. Other then that id...
Hey guys,
Just curious if its possible to use html inside a java applet. I am currently using a JTable for the user list, But im running into multiple errors when applet is loading and getting a...
I think its kind of a bad idea to reference an image from a local drive..
Simply copy the image file to your eclipse project main directory and refrence it as image.jpg. Either build the image...
try to scan word by word.. and do a if statement to check if the word is and or random
for example you could try:
if (word.equals("and"))
{
--- CODE here (use Replace not...
hmm... nobody?
you see that when you're adding new components to the panel/frame etc..
I have no time to test your code but first option would be to try to reset the frame as visible as the last line of code on...
I totally agree... I have just finished programming in college. I knew more then the teacher, Our last assignment was a multi threaded chat.. Seems the teacher didn't want to teach us networking....
Well it seems his trying to set a object as a string to me.
hmm If your new to loops, Stick to simple code such as JOptionPane
for example a string varible getting data from the optionpane
...
_strString = JOptionPane.ShowInputDialog(null,...
I could be wrong but just a suggestion.. when returning the object try to set it as a string. Example is:
return((String) objectValue);
Where are you initializing the variable for the images..
Do you get an error?
You should check the hosts file.. make sure the applet allows connections.
If the applet is a server for example.. the applet could be limited and set to localhost...