Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

InternalFrame and events in title bar

  Asked By: Jada    Date: Jun 08    Category: Java    Views: 1240

I am new to Swing and GUI, but am very familiar with non-gui/server-
side Java.

I have successfully istalled, compiled and run this Java Tutorial
Swing Desktop/InternalFrame sample code:


I have also altered it slightly, implementing a MouseMotionListsener,
InternalFrameListener and ComponentListener into the InternalFrame
objects, no problem. This tells me almost everything I want to know
(size, iconify, movement, ...). However, I can't figure out how to
get the exact position of your mouse--relative to the JDesktopPane--
AS YOU ARE DRAGGING an InternalFrame around.

That is, it seems that any mouse events that take place within
the "title bar" of an InternalFrame are suppressed somehow.



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on InternalFrame and events in title bar Or get search suggestion and latest updates.