Forum: Java Jun 18th, 2007 |
| Replies: 4 Views: 2,173 my code is in fold Myfold. the jar file is in another fold c:\programs...
I run javac in c:\myfold.
I need to complie both mycode and the jar code together. Please tell me what I can do. |
Forum: Java Jun 18th, 2007 |
| Replies: 3 Views: 4,809 Here is the code. It works within netBeans. If I run it in the command window with javac, I get message "package org.jdesktop.layout does not exist"
public class report2 extends... |
Forum: Java Jun 18th, 2007 |
| Replies: 4 Views: 2,173 I have a code generated with netBeans. It use org.jdesktop.layout. I have the file swing-layout-1.0.jar. But I don't know how to compile and run mycode.jave with that jar file.
Please write full... |
Forum: Java Jun 17th, 2007 |
| Replies: 3 Views: 4,809 I copy and paste code generated from NetBeans into a java file. To run it, I got message "package org.jdesktop.layout does not exit"
What should I do?
Thanks ahead. |
Forum: Java Jun 16th, 2007 |
| Replies: 4 Views: 4,380 This is very helpful! Thanks. |
Forum: Java Jun 16th, 2007 |
| Replies: 4 Views: 4,380 codes in two files. Is there a way to use a method cross files? |
Forum: Java Jun 16th, 2007 |
| Replies: 9 Views: 3,140 |
Forum: Java Jun 16th, 2007 |
| Replies: 9 Views: 3,140 I'm learning java.
I have one Jframe with 5 jbuttons. I want to click button1 to have a new Jframe come up. How should I define the 2nd Jframe? class? public class? |