| Author |
New button to JFrame
|
Martin Schneider
Ranch Hand
Joined: May 16, 2002
Posts: 42
|
|
Hi, how I can create new button to upper right corner (right next to the minimize, maximize and close)? And how I can create a logo for it? I'd like to have a question mark on it. Please help.
|
 |
Nathan Pruett
Bartender
Joined: Oct 18, 2000
Posts: 4121
|
|
|
The buttons on the frame are platform dependent... so there is no way to really add a button to it other than making your own platform dependent frame in C++ and using JNI to use it in Java. You can fake a button by using a Window and drawing all the frame decorations on yourself in the Window's paint() method, though... plus implementing all the MouseMotionListeners to make the Window move and resize like a Frame...
|
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
|
 |
 |
|
|
subject: New button to JFrame
|
|
|