Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Cannot create a second frame.  RSS feed

 
Alejandro Barrero
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created a program to parse the HTML file from a MS Word document and create XML files to drive a program to display the information as a Help system. Both programs work correctly. Now I am trying to launch the help system from the program that creates the files by creating an instance of the Help class (extend JFrame) and setting it visible. The problem is that it works fine inside Eclipse; but if I create a jar file and run the program, it fails to create the instance. I am catching a Throwable and the getmessage only says "Null". I get the same error if I try to create the instance as a a field.

I am completely beffundled; please help me.

Alejandro Barrero
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not a JBoss question. Moving to Swing / AWT / SWT / JFace...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!