// Create and set up the layered pane.
gridLayeredPane = new GridLayeredPane(this);
gridLayeredPane.showGrid(true);
editLayer = new EditLayer(this);
gridLayeredPane.add(editLayer, new Integer(1));
scrollPane = new JScrollPane(gridLayeredPane);
jframe.add(scrollPane, BorderLayout.CENTER);
//panel.add(scrollPane, BorderLayout.CENTER);