| | |
swing help
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
The same as you load any JFrame.
(It wouldn't hurt to read Sun's recommended coding conventions document either: http://java.sun.com/docs/codeconv/ht...nvTOC.doc.html Class names should be capitalized so as not to be confused with a variable or method name)
Java Syntax (Toggle Plain Text)
pay payFrame = new pay(); payFrame .setSize(500,500); payFrame .setVisible(true);
(It wouldn't hurt to read Sun's recommended coding conventions document either: http://java.sun.com/docs/codeconv/ht...nvTOC.doc.html Class names should be capitalized so as not to be confused with a variable or method name)
•
•
Join Date: Jan 2008
Posts: 3,842
Reputation:
Solved Threads: 503
These are some pretty long files. Don't have time to look at them right now, but will have time later today. Consider copying and pasting them (preferably an abridged version) into a post. To use code tags, do this:
[code=JAVA]
// paste your code here
[/code]
This will highlight the JAVA syntax and give line numbers to refer to. If you can refer to specific parts of the program and what you are trying to do that is not working, that will help and you'll get more people viewing it. I will check back in later today.
[code=JAVA]
// paste your code here
[/code]
This will highlight the JAVA syntax and give line numbers to refer to. If you can refer to specific parts of the program and what you are trying to do that is not working, that will help and you'll get more people viewing it. I will check back in later today.
•
•
Join Date: Jan 2008
Posts: 3,842
Reputation:
Solved Threads: 503
I could have sworn I posted within the last half hour. Must have just hit the preview or left the page before giving the system a chance to register the new post. Okay, I just want to make sure that we're talking about Buttons.java and pay.java and that last_try.java is irrelevant to this thread. And are you still having the problem and are the files still the same?
![]() |
Similar Threads
- a Java GUI based program using Swing classes, Vat (Java)
- using javax.swing.Icon ... (Java)
- Java Swing Help!! (Java)
- Open Intenet Explorer in Swing application (Java)
- Swing Java Database (Java)
- Java awt and swing event handling (Java)
Other Threads in the Java Forum
- Previous Thread: using the setText() method - getting error cannot find symbol
- Next Thread: Same instance of Applet in 2 browsers
Views: 513 | Replies: 8
| Thread Tools | Search this Thread |
Tag cloud for Java
6 android api apple applet application arc arguments array arrays automation binary bluetooth bold c++ chat class classes client code compare component coordinates database datagram doctype draw eclipse educational error event exception file fractal froglogic game givemetehcodez graphics gui guitesting helpwithhomework html ide ideas image ingres input integer internet intersect ip j2me java javaexcel javaprojects jmf jni jpanel jtextarea julia linux list loop map method methods mobile netbeans newbie nextline number object oracle print problem program programming project recursion recursive scanner screen sell server set size sms socket sort sql string swing test threads time transfer tree user websites windows






