Changeset 23878 in osm


Ignore:
Timestamp:
2010-10-27T21:26:04+02:00 (14 years ago)
Author:
oliverw
Message:

Center dialog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/AddressEdit/src/org/openstreetmap/josm/plugins/addressEdit/gui/AddressEditDialog.java

    r23876 r23878  
    8888                setLayout(new BorderLayout());
    8989                setSize(1024,600);
    90                 // TODO: Center on screen
    91                 setLocation(100, 100);
    92 
    93                
    94                 // TODO: Proper init, if model is null
     90                setLocationRelativeTo(null);
     91               
    9592                if (addressEditContainer != null) {
    9693                        /* Panel for street table */
Note: See TracChangeset for help on using the changeset viewer.