Want to use JXLayer to lock up my GUI while some worker thread is executing.Thought that is was as simple as this:
JPanel panel = getMyPanel();
LockableUI lockableUI = new LockableUI();
JXLayer l = new JXLayer(panel, lockableUI);
lockableUI.setLocked(false);
add(l);
first error is that getMyPanel() function is undefined for some reason. i have added the jxlayer3-0.jar
I need the panel that i want to lock.... so if i switch the first line with:
JPanel p =(JPanel) getContentPane();
but then i get the warning that i am adding container's parent to it self.can't find any documentation for JXLayer