This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

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

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.


any suggetsions
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!