• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem when adding an internal frame

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i have an application in which i had to add an internal frame and show the image of particular icon when some button is clicked. i have added the internal frame to a JLayeredPane and i am able to get the image, but the problem is i am getting an exception when i drag the internal frame...is there any way to catch this exception..
i have also tried adding the internal frame to JDesktoppane then i am not getting the exception but there is a repainting problem..the main page gets repainted and everything on it gets erased and the color of the desktop is been set...
 
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
I worked with internal frames and i had no probs. i added them to the desktoppane (that's the way sun suggests, i think). if you still have the problem, than send me the part of the code, maybe you just missed something.
chantal
 
reply
    Bookmark Topic Watch Topic
  • New Topic