Results 1 to 5 of 5
- 06-13-2011, 07:38 PM #1
Member
- Join Date
- May 2011
- Posts
- 56
- Rep Power
- 0
Creating a button on the tilte bar of my application frame
Hello,
I want to add few buttons on the title bars of different frames of my application, such as a Logout button in home windows's title bar.
Please suggest me how can i achieve this and from what thing i have to start for this?
Any tutorial or articles can will also help me.....
Regards.
- 06-13-2011, 07:40 PM #2
I've never seen buttons on the Title bar. Where have you seen this done?
- 06-13-2011, 07:43 PM #3
Member
- Join Date
- May 2011
- Posts
- 56
- Rep Power
- 0
I dont remember that i have seen an application developed with java, but in case of other apps many are there..........
few of them are WinAmp, FlashGet........
- 06-13-2011, 09:17 PM #4
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,606
- Rep Power
- 5
Either a) remove the default Title bar (via the setUndecorated method) and create your own within the window or b) Keep the current title bar and add something like a toolbar to the GUI just below it
- 06-13-2011, 10:41 PM #5
Member
- Join Date
- May 2011
- Posts
- 56
- Rep Power
- 0
Thank you for this....finally i had created a panel just below title bar having lable to show the current time and button options which i am trying to put on the title bar..Either a) remove the default Title bar (via the setUndecorated method) and create your own within the window or b) Keep the current title bar and add something like a toolbar to the GUI just below it
it also looking gud though but actually problem is that i am just trying to do some things which comes in my mind that yeah this will be good and till it doesn't happen i will not get fully satisfied.... since its not need of the time so i'll go for it later.........
Similar Threads
-
creating a frame on button click event
By ankit1801 in forum New To JavaReplies: 8Last Post: 03-16-2011, 05:11 AM -
How do I close a frame with a button?
By Psyclone in forum AWT / SwingReplies: 7Last Post: 02-19-2010, 10:43 PM -
add tabbed pane to the frame on a button click
By Mahaveer in forum New To JavaReplies: 0Last Post: 11-20-2009, 09:19 AM -
New button in new frame
By billbo123 in forum New To JavaReplies: 0Last Post: 03-01-2009, 10:32 PM -
how disable the display of close button on the frame
By kalanidhi in forum New To JavaReplies: 6Last Post: 11-19-2008, 09:51 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks