Jump to content

[LE] lev.gui hello i am hidden


ploper

Recommended Posts

Hello just want some explanations about placing objects usually seen but not always full in the middle panel in skyproc.

 

And more about lev.gui :

 

I have a question about storing ui object of class like LPanel.
If i store this object in a array of multiple types like List<Object> i can't retrieve the original object to be deleted by remove(Component) but if i use //JOptionPane.showMessageDialog(null, (LPanel)the object) in a loop in the List<Object>, i can successfully delete it after passing it to remove:(
How can i achieve this keeping in mind i just want reset a panel content but the panel doesnt reload after clicked the first time, all i want is replace all content inside it not disable it or cannot delete all object without having to repeat 5000 ok in awindows to close the call of showmessagedialog :/ :(
Edited by ploper
Link to comment
Share on other sites

Fixed: This is a strange behavior you just need to repeat the whole process before attempting removing an element from a base panel, not yours, just delete it after add it, do it two times.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...