A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Swing / AWT / SWT
How make a movable frame without title bar in swing
Joined: Dec 12, 2006
Dec 12, 2006 00:24:00
Can any body help me to know that how we can get a movable frame without title bar..
Joined: Mar 14, 2006
Dec 12, 2006 02:06:00
is this really about Groovy or some other oo scripting language?
The man who makes no mistakes does not usually make anything<br /> <br />>>> SCJP 5.0 >> SCJD B&S <<< In progress
Joined: Jun 09, 2003
Dec 12, 2006 11:34:00
add a mouseMotionListener, and in mouseDragged() reset the location of the frame.
the frame will need to have an unoccupied area, or a component that does not
consume the event
in case 'without title bar' is the problem
[ December 12, 2006: Message edited by: Michael Dunn ]
I agree. Here's the link:
subject: How make a movable frame without title bar in swing
Components and Containers : My Notes
Creating frame withouth title bar
How to remove Frame/Window Title Bar
JInternalFrame title bar
AWT question from javaprepare:
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015