Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Relative URL for icon (jbuilder specific)  RSS feed

Tom Boyce
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to convert files written in Visual Cafe to JBuilder. The files now compile, but I am unable to see the buttons with a realitive URL image. They do show when the appplication is run, but not in design mode.
Here is the code:
OKJButoon.setIcon(new IMageIcon(new"path/image.jpg")));
files are in another directory on the c:/drive, but it's important the reference be relative.
I am using JBuilderX 10.0
Please help!
Tom Boyce
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!