daileyps
September 22nd, 2000, 11:03 AM
Is it possible to get the same dialog graphics for messages (!), confirmations (?), etc. for custom dialogs as you get on the predefined dialogs?
|
Click to See Complete Forum and Search --> : Custom JDialog daileyps September 22nd, 2000, 11:03 AM Is it possible to get the same dialog graphics for messages (!), confirmations (?), etc. for custom dialogs as you get on the predefined dialogs? Splatt September 22nd, 2000, 11:21 AM 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 daileyps September 22nd, 2000, 11:26 AM So there's no system defined function/variable I can 'get' them from? Splatt September 22nd, 2000, 11:29 AM 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 daileyps September 22nd, 2000, 11:31 AM Thanks, I'll try your method. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |