|
-
September 22nd, 2000, 11:03 AM
#1
Custom JDialog
Is it possible to get the same dialog graphics for messages (!), confirmations (?), etc. for custom dialogs as you get on the predefined dialogs?
-
September 22nd, 2000, 11:21 AM
#2
Re: Custom JDialog
Those icons are just gifs that are loaded by the predefined dialogs. I don't remember where they are located, but you can find them. One thing you can do is create a JLabel or ImageIcon from the gif you want to use and add it to your custom dialog.
"There's nothing more dangerous than a resourceful idiot." ---Dilbert
BWAHAHAHAHAHAHA! ---Murray
-
September 22nd, 2000, 11:26 AM
#3
Re: Custom JDialog
So there's no system defined function/variable I can 'get' them from?
-
September 22nd, 2000, 11:29 AM
#4
Re: Custom JDialog
Not that I am aware of. There may be, but I don't know. I've always done it the way I mentioned.
"There's nothing more dangerous than a resourceful idiot." ---Dilbert
BWAHAHAHAHAHAHA! ---Murray
-
September 22nd, 2000, 11:31 AM
#5
Re: Custom JDialog
Thanks, I'll try your method.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|