Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cant See RTF Files in JAR but can when running program from command prompt

 
Chetan Pandey
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ALL:

I have a Java Swing APP. It has Menus which displays information through File I/O in a JEditorPane.

When I run my program from Command Prompt using "java myApp" it shows these RTF Files as it is.

However when I run them after converting Directory into a Executable JAR FILE, it fails. I get a blank JEditorPane. My RTF files are in the CORRECT PATH, just dont get displayed. Rest of the APP works fine.

Chetan

any suggetsions
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic