| | |
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,833
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,833
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
| Thread Tools | Search this Thread |
Tag cloud for Java
android api apple applet application arc arguments array arrays automation binary bluetooth c++ chat class classes client code codesnippet compiler component csv database doctype draw ebook eclipse error event exception fractal freeze game givemetehcodez graphics gui html ide image input integer intellij iphone j2me java java.xls javaprojects jmf jni jpanel jtable julia linux list loop loops mac map method methods mobile netbeans newbie number online oracle page parameter print problem program programming project recursion reporting rotatetext scanner screen sell server set size sms socket sort sql string superclass swing system template test testautomation threads time title tree tutorial-sample windows working






