Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > Java GUI
|
Java GUI Discussions specific to programming Java GUI.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java GUI section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 31st, 2005, 08:00 AM
Registered User
 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Titlebar on JDialog/JFrame

Hello,

how can I change the titlebar of an JDialog?

thanks,
raven983

 
Old April 5th, 2005, 05:51 AM
Friend of Wrox
 
Join Date: Dec 2003
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

myJDialog.setTitle() ?

HTH

--
Don't Stand on your head - you'll get footprints in your hair
                                           http://charlieharvey.org.uk
                                              http://charlieharvey.com
 
Old April 15th, 2005, 02:43 AM
Registered User
 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hallo,

the method "myJDialog.setTitle()" set the title of dialog.
I need a new button on the title bar (Help-Button).

--> Example: Windows-Property-Dialogs (Networkconfiguration-Dialog)

raven983

 
Old April 15th, 2005, 10:05 AM
Friend of Wrox
 
Join Date: Dec 2003
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

ah, OK, I see. 'fraid I'm stumped on that one!

Cheers


--
Don't Stand on your head - you'll get footprints in your hair
                                           http://charlieharvey.org.uk
                                              http://charlieharvey.com
 
Old May 7th, 2005, 07:08 PM
Registered User
 
Join Date: May 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Normally Swing framework does not provide a way to access the titlebars, which are managed by the underlying operating system. You can only change the title text.
Try to find more about SWT framework of Eclipse project. I guess there should be a solution for this.






Similar Threads
Thread Thread Starter Forum Replies Last Post
jframe background darkfreedom Java GUI 0 August 4th, 2006 01:38 PM
JDialog hoop_12 Java GUI 0 April 20th, 2006 11:56 AM
Jdialog tabbed panes nady Java GUI 0 April 11th, 2006 12:52 PM
No text in Jdialog poojak16 Java GUI 2 May 23rd, 2005 02:26 AM
Using JDialog to get values from user pratheeba Java GUI 1 October 9th, 2003 02:30 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.