diff --git a/java/Makefile.am b/java/Makefile.am index 43752b6f3b..fddbc6f9ec 100644 --- a/java/Makefile.am +++ b/java/Makefile.am @@ -57,7 +57,7 @@ install-jars : ScrollView.jar @if [ ! -d $(scrollview_path) ]; then mkdir -p $(scrollview_path); fi; $(INSTALL) -m 644 $(SCROLLVIEW_LIBS) $(scrollview_path); $(INSTALL) -m 644 ScrollView.jar $(scrollview_path); - @echo "Don't forget to set enviroment variable SCROLLVIEW_PATH to $(scrollview_path)"; + @echo "Don't forget to set environment variable SCROLLVIEW_PATH to $(scrollview_path)"; uninstall: rm -f $(scrollview_path)/*.jar diff --git a/java/com/google/scrollview/ui/SVMenuBar.java b/java/com/google/scrollview/ui/SVMenuBar.java index 7c2f5d9af8..9a87524ef0 100644 --- a/java/com/google/scrollview/ui/SVMenuBar.java +++ b/java/com/google/scrollview/ui/SVMenuBar.java @@ -50,7 +50,7 @@ public SVMenuBar(SVWindow scrollView) { /** - * A click on one of the items in our menubar has occured. Forward it + * A click on one of the items in our menubar has occurred. Forward it * to the item itself to let it decide what happens. */ public void actionPerformed(ActionEvent e) { @@ -111,7 +111,7 @@ else if (id == -1) { * @param name The caption of the new entry. * @param id The Id of the new entry. If it is -1, the entry will be treated * as a menu. - * @param b Whether the entry is initally flagged. + * @param b Whether the entry is initially flagged. * */ diff --git a/java/com/google/scrollview/ui/SVPopupMenu.java b/java/com/google/scrollview/ui/SVPopupMenu.java index 6427c0ef85..14c8b3acd3 100644 --- a/java/com/google/scrollview/ui/SVPopupMenu.java +++ b/java/com/google/scrollview/ui/SVPopupMenu.java @@ -123,7 +123,7 @@ public void add(String parent, String name, int id, String value, String desc) { /** - * A click on one of the items in our menubar has occured. Forward it + * A click on one of the items in our menubar has occurred. Forward it * to the item itself to let it decide what happens. */ public void actionPerformed(ActionEvent e) { diff --git a/java/com/google/scrollview/ui/SVWindow.java b/java/com/google/scrollview/ui/SVWindow.java index f4960276f6..267bfdda03 100644 --- a/java/com/google/scrollview/ui/SVWindow.java +++ b/java/com/google/scrollview/ui/SVWindow.java @@ -298,7 +298,7 @@ public void addMessageBox() { ta.setEditable(false); getContentPane().add(ta, BorderLayout.SOUTH); } - // We need to make the window bigger to accomodate the message box. + // We need to make the window bigger to accommodate the message box. winSizeY += DEF_MESSAGEBOX_HEIGHT; setSize(winSizeX, winSizeY); }