1 Reply Latest reply: Oct 7, 2004 1:31 PM by camickr RSS

    making JInternal Frame Immovable

    807587
      I want my Jinternal frame not to move.by default its moving over my Jframe.i want it to be immovable.how do i do that
        • 1. Re: making JInternal Frame Immovable
          camickr
          You could try removing the MouseMotionListeners from the internal frame. Here is a similiar example on removing MouseListeners from a JCheckBox:
          MouseListener[] actions = (MouseListener[])checkBox.getListeners(MouseListener.class);
          for (int i = 0; i < actions.length; i++)
              checkBox.removeMouseListener( actions[i] );