Results 1 to 6 of 6
Thread: can't run app outside netbeans
- 12-14-2008, 06:03 PM #1
can't run app outside netbeans
right, I've created a "Java application" and it runs fine inside java which has a frame as a main class. however when I try to open it using an html file it won't open (I get an X)
my html code:
<HTML>
<TITLE>
It is HTML to my first applet
</TITLE>
<APPLET code="NewJFrame.class" WIDTH=300 HEIGHT=400>
</APPLET>
</APPLET>
</HTML>
- 12-14-2008, 07:51 PM #2
Senior Member
- Join Date
- Sep 2008
- Posts
- 564
- Rep Power
- 13
it's not an applet. you need to make it an applet.
- 12-14-2008, 07:53 PM #3
- 12-14-2008, 07:59 PM #4
nvm figured out you can just open the jar file and it will work! thanks anyways!
- 12-14-2008, 08:01 PM #5
Senior Member
- Join Date
- Sep 2008
- Posts
- 564
- Rep Power
- 13
i honestly don't know. i haven't used either applets or swing myself. i'm sure that most of your code will remain the same and that it's just learning the applet api in comparison to that of swing.
- 12-14-2008, 08:02 PM #6
Senior Member
- Join Date
- Sep 2008
- Posts
- 564
- Rep Power
- 13
Similar Threads
-
help with netBeans
By the godfather01 in forum NetBeansReplies: 11Last Post: 02-01-2009, 05:48 PM -
cannot run web app with Netbeans
By CirKuT in forum New To JavaReplies: 5Last Post: 10-28-2008, 04:48 PM -
Ant outside of netbeans
By ProbablyX in forum NetBeansReplies: 0Last Post: 02-14-2008, 08:06 PM -
NetBeans 5.5.1 Help.
By padutch2 in forum New To JavaReplies: 6Last Post: 12-03-2007, 04:01 AM -
netbeans 64 bit
By caspermel in forum NetBeansReplies: 1Last Post: 06-26-2007, 11:29 PM
Bookmarks