mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-11 03:29:51 +00:00
minor fix; simulator not centering 0,0-size at startup
This commit is contained in:
parent
6257bb670b
commit
dd9701d125
@ -24,7 +24,7 @@
|
|||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: GUI.java,v 1.19 2007/01/24 18:12:59 fros4943 Exp $
|
* $Id: GUI.java,v 1.20 2007/02/01 16:00:40 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.cooja;
|
package se.sics.cooja;
|
||||||
@ -437,9 +437,9 @@ public class GUI {
|
|||||||
JComponent newContentPane = gui.getDesktopPane();
|
JComponent newContentPane = gui.getDesktopPane();
|
||||||
newContentPane.setOpaque(true);
|
newContentPane.setOpaque(true);
|
||||||
frame.setContentPane(newContentPane);
|
frame.setContentPane(newContentPane);
|
||||||
frame.setLocationRelativeTo(null);
|
|
||||||
|
|
||||||
frame.setSize(700, 700);
|
frame.setSize(700, 700);
|
||||||
|
frame.setLocationRelativeTo(null);
|
||||||
frame.addWindowListener(gui.guiEventHandler);
|
frame.addWindowListener(gui.guiEventHandler);
|
||||||
|
|
||||||
// Display the window.
|
// Display the window.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user