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 > Re: Placing clo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 9682 of 9914
Post > Topic >>

Re: Placing close button into tab with 1.5?

by GArlington <garlington@[EMAIL PROTECTED] > May 2, 2008 at 04:00 AM

On May 1, 3:21 pm, Karsten Wutzke <kwut...@[EMAIL PROTECTED]
> wrote:
> Hello,
>
> I want to add a close button to a tab to close itself. In JTabbedPane
> there is getTabComponentAt etc., but it is all Java SE 1.6.
>
> Is there a (not too complicated) way to achieve it in Java 1.5???
>
> Karsten

How about add a JButton with action parent.hide()?
 




 5 Posts in Topic:
Placing close button into tab with 1.5?
Karsten Wutzke <kwutzk  2008-05-01 07:21:19 
Re: Placing close button into tab with 1.5?
GArlington <garlington  2008-05-02 04:00:22 
Re: Placing close button into tab with 1.5?
Ian Shef <invalid@[EMA  2008-05-02 19:23:14 
Re: Placing close button into tab with 1.5?
Karsten Wutzke <kwutzk  2008-05-04 07:15:14 
Re: Placing close button into tab with 1.5?
Knute Johnson <nospam@  2008-05-04 10:07:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sun Sep 7 2:55:26 CDT 2008.