Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java GUI > Problem with ic...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 9642 of 9821
Post > Topic >>

Problem with icons in tabbed pane

by haxahax@[EMAIL PROTECTED] Apr 20, 2008 at 02:44 PM

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
 




 1 Posts in Topic:
Problem with icons in tabbed pane
haxahax@[EMAIL PROTECTED]  2008-04-20 14:44:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 23:20:53 CDT 2008.