Problem with icons in tabbed pane



Hello,

I am working on GUI in NetBeans 6.0.1.
Into JTabbedPane I put a few JPanels.
In properties of JPanels I set Tab Icon to
some png image. In GUI designer, icons are
visible. But when I run my application, I can
not see icons (tried in a few look & feels).
The code generated by designer is:

jTabbedPane1.addTab(resourceMap.getString("jPanel2.TabConstraints.tabTitle")
, jPanel2); // NOI18N

It seems that it does not include icon, but I set
icon in designer.

What do I do wrong?

Thanks in advance for help.

haxahax
.



Relevant Pages

  • Re: Im in over my head on this one. Clarification please...
    ... I recommend that you do not use your UI elements as state variables ... (don't use your GUI controls to be the difinitive holder of important ... appropriate icon on your status bar. ... Your GUI elements should be changed as a side effect of setting your ...
    (microsoft.public.vstudio.development)
  • Re: Windows Server 2003 - Running a service as a Local System account.
    ... > set the thread context back to the local system when you are done. ... >> has a GUI and an icon that I place in the task tray. ... >> process as a specified User and achieve my goals? ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Win98 -- all kidding aside
    ... Insert floppy. ... Then click either on the icon that appears there saying 1.5 MB Media, ... you won't need to do that since nautilus opens it automatically on ... at least, I can't do those things from within the GUI, which is what I ...
    (Ubuntu)
  • Re: [opensuse] Changing The Icon Size In The Kickoff Menu
    ... style menu icon size to something more reasonable than huge. ... The old KDE menu style keeps on screen the whole tree. ... The GUI is introduced as a help to reduce memorizing of file/application ... what would be good mail list to talk again about kickoff. ...
    (SuSE)
  • RE: Windows Server 2003 - Running a service as a Local System account.
    ... set the thread context back to the local system when you are done. ... > has a GUI and an icon that I place in the task tray. ... > other machine while running as a Local System account and will not "allow ...
    (microsoft.public.win32.programmer.kernel)