ok did you under stand my example though?, if say starting small I just want to make a java applet that opens up that website in a jpanel with it included inside of it.
Bowman 2 - Free Online...
Type: Posts; User: centralnathan
ok did you under stand my example though?, if say starting small I just want to make a java applet that opens up that website in a jpanel with it included inside of it.
Bowman 2 - Free Online...
I have a program, it makes a giant text box in the middle (and a couple of buttons in a jpanel).
Where this text box is I want it replaced with say a game or something
Bowman 2 - Free Online...
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
public class MyPanel extends JPanel {
private JButton jcomp1;
private JButton jcomp2;
...
can you help now
This is the new code with the .exists() and it comes up with this error:
Exception in thread "main" java.io.FileNotFoundException: user.txt (The system cannot find the file specified)
at...
I tried the .exists(); first but i come up with the same error i posted above. i may have been useing it wrong. good you guys post an example of how to use it correctly? (either with this program or...
unfortunately i have tried .exist() but it still came up with the same error,
please note i program in netbeans on a public computer that does not have access to command prompt
there you go
so the problem with my code is it will not run unless i manually make a text file, i want it to check if the text files exist and if they do not (and they wont) then to create them, but i always come...