From 7d02eaffc02895a01d95d8fd7e089044449e1d6d Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Thu, 01 Aug 2019 00:20:19 -0400 Subject: [PATCH] Switch left/right --- GroupEditor.java | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/GroupEditor.java b/GroupEditor.java index f72277a..7ec82e1 100644 --- a/GroupEditor.java +++ b/GroupEditor.java @@ -932,7 +932,7 @@ restoreCameraButton.addActionListener(this); copyOptionsPanel.add(saveButton = GetButton("icons/down_arrow.png", !Grafreed.NIMBUSLAF)); //, oe.aConstraints); - saveButton.setToolTipText("New version"); + saveButton.setToolTipText("Duplicate current version"); saveButton.addActionListener(this); copyOptionsPanel.add(undoButton = GetButton("icons/undo.png", !Grafreed.NIMBUSLAF)); //, oe.aConstraints); @@ -942,12 +942,12 @@ cGridBag updown = new cGridBag().setVertical(true); updown.add(restoreButton = GetButton("icons/restore.png", !Grafreed.NIMBUSLAF)); //, oe.aConstraints); - restoreButton.setToolTipText("Restore current"); + restoreButton.setToolTipText("Restore current version (undo latest change)"); restoreButton.addActionListener(this); restoreButton.setEnabled(false); updown.add(replaceButton = GetButton("icons/replace.png", !Grafreed.NIMBUSLAF)); //, oe.aConstraints); - replaceButton.setToolTipText("Replace current"); + replaceButton.setToolTipText("Replace current version (save latest change)"); replaceButton.addActionListener(this); replaceButton.setEnabled(false); @@ -1183,7 +1183,7 @@ dgr.addDragGestureListener(this); }catch(Exception e) {} */ - radio.layout = sixButton; // sevenButton; + radio.layout = threeButton; // sixButton; oe.toolbarPanel.add(radioPanel); //, oe.aConstraints); } @@ -1328,7 +1328,7 @@ } radioButton.SetObject(obj); - radioButton.layout = sixButton; // sevenButton; + radioButton.layout = threeButton; // sixButton; radioButton.SetCamera(cameraView.renderCamera, false); radioButton.addActionListener(this); radioPanel.add(radioButton); @@ -3944,11 +3944,13 @@ } else if (event.getSource() == editCameraItem) { cameraView.ProtectCamera(); + cameraView.requestFocusInWindow(); cameraView.repaint(); return; } else if (event.getSource() == restoreCameraItem || event.getSource() == restoreCameraButton) { cameraView.RevertCamera(); + cameraView.requestFocusInWindow(); cameraView.repaint(); return; // } else if (event.getSource() == textureButton) -- Gitblit v1.6.2