|
-
Jul 9th, 2007, 04:25 PM
#1
Thread Starter
Hyperactive Member
Netbeans Jar problem
i cant choose my applet as the main class, therefore I cant create a jar file of my project. How can I make a jar of my project or make my applet the main class? or how can I call my gui from another class?
-
Jul 9th, 2007, 10:10 PM
#2
Re: Netbeans Jar problem
Since Applets don't have a main method you can't do that. But when calling the jar file from the browser, you can specify the class you want to run
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jul 10th, 2007, 12:04 PM
#3
Addicted Member
Re: Netbeans Jar problem
 Originally Posted by ComputerJy
Since Applets don't have a main method you can't do that. But when calling the jar file from the browser, you can specify the class you want to run
Can you expand on this please?
-
Jul 10th, 2007, 12:19 PM
#4
Thread Starter
Hyperactive Member
Re: Netbeans Jar problem
I see ...
Maybe Im using the wrong project for my GUI's. What should I use instead of java applet? I want to make offline apps.
-
Jul 10th, 2007, 12:24 PM
#5
Re: Netbeans Jar problem
 Originally Posted by xxarmoxx
I see ...
Maybe Im using the wrong project for my GUI's. What should I use instead of java applet? I want to make offline apps.
Applets like any other web based programs can run offline, but launching them needs an HTML document or command line
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jul 10th, 2007, 12:51 PM
#6
Thread Starter
Hyperactive Member
Re: Netbeans Jar problem
I figured out whats wrong. I was making my GUI on a java applet form but I should have made it on a jFrame form. It works now.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|