0

I am using JDesktopPane and Jinternal Frame.

I want to Lock Jinternal Frame inside JDesktopPane .

Suggest which method or property needs to change.

Code Hungry
  • 3,930
  • 22
  • 67
  • 95

1 Answers1

3

You could

  1. Supply your own DesktopManager and manage the setFrameBounds method
  2. Implement your own internal frame & override the setBounds(x, y, width, height), & maintain the position by supplying your own x, y values to the super call.
trashgod
  • 203,806
  • 29
  • 246
  • 1,045
MadProgrammer
  • 343,457
  • 22
  • 230
  • 366