public GraphSceneGlassPane() { this.scene = new ObjectScene(); this.scene.setOpaque(false); this.mainLayer = new LayerWidget(this.scene); this.connectionLayer = new LayerWidget(this.scene); this.constraintsLayer = new LayerWidget(this.scene); this.jScroolPane = new JScrollPane(); this.jScroolPane.setOpaque(false); this.scene.addChild(Costanti.INDEX_MAIN_LAYER, this.mainLayer); this.scene.addChild(Costanti.INDEX_CONNECTION_LAYER, this.connectionLayer); this.scene.addChild(Costanti.INDEX_CONSTRAINTS_LAYER, this.constraintsLayer); this.view = scene.createView(); this.view.setVisible(true); this.view.setOpaque(false); this.setLayout(new BorderLayout()); this.add(this.view, BorderLayout.CENTER); }