this.type = type;
ap = fr.ap;
frame = new JDialog(Desktop.instance,true);
- frame.setSize(480,185);
+ frame.setTitle("Graduated Feature Colour for "+type);
+ Rectangle deskr = Desktop.instance.getBounds();
+ frame.setBounds(new Rectangle((int) (deskr.getCenterX()-240),(int) (deskr.getCenterY()-92),480,185));
frame.setContentPane(this);
//frame.setLayer(JLayeredPane.PALETTE_LAYER);
//Desktop.addInternalFrame(frame, "Graduated Feature Colour for "+type, 480, 145);