Hello every body, I'm using JLayeredPane to draw several layers, each layer has different depth my question is: how can i change the layer depth at run time? i need to change the depth of previewMap from 0 to 1, and the depth of mapControlPanel from 1 to 0
JLayeredPane layeredPane = new JLayeredPane (); JPanel previewMap = new JPanel(); JPanel mapControlPanel = new JPanel(new BorderLayout()); layeredPane.add(previewMap, Integer.valueOf(0)); layeredPane.add(mapControlPanel, Integer.valueOf(1));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)