ploper Posted January 21, 2018 Share Posted January 21, 2018 (edited) 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 January 24, 2018 by ploper Link to comment Share on other sites More sharing options...
ploper Posted January 26, 2018 Author Share Posted January 26, 2018 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 More sharing options...
Recommended Posts