Browse Source

minor change

Teh-Hai Julian Zheng 7 years ago
parent
commit
d6dcd263bd
3 changed files with 3 additions and 3 deletions
  1. 1 1
      src/ui/view/GUI.java
  2. 1 1
      src/ui/view/MyCanvas.java
  3. 1 1
      src/ui/view/UpperNodeCanvas.java

+ 1 - 1
src/ui/view/GUI.java

@@ -538,7 +538,7 @@ public class GUI<E> implements CategoryListener {
 						controller.paste(null, canvas.getMousePosition());
 				} catch (HeadlessException | JsonParseException | UnsupportedFlavorException | IOException e1) {
 					// TODO Auto-generated catch block
-					JLabel message = new JLabel("The Clipboard information can't be pasted into Application.");
+					JLabel message = new JLabel("The Clipboard information cannot be pasted into Application.");
 					JOptionPane.showMessageDialog(null, message, "", JOptionPane.ERROR_MESSAGE);
 				}
 				canvas.repaint();

+ 1 - 1
src/ui/view/MyCanvas.java

@@ -382,7 +382,7 @@ public class MyCanvas extends JPanel implements MouseListener, MouseMotionListen
 					controller.paste(null, mousePosition);
 				} catch (JsonParseException | UnsupportedFlavorException | IOException e1) {
 					// TODO Auto-generated catch block
-					JLabel message = new JLabel("The Clipboard information can't be pastet into Application.");
+					JLabel message = new JLabel("The Clipboard information cannot be pastet into Application.");
 					JOptionPane.showMessageDialog(null, message, "", JOptionPane.ERROR_MESSAGE);
 				}
 				repaint();

+ 1 - 1
src/ui/view/UpperNodeCanvas.java

@@ -396,7 +396,7 @@ public class UpperNodeCanvas extends JPanel implements MouseListener, MouseMotio
 					controller.paste(upperNode, mousePosition);
 				} catch (JsonParseException | UnsupportedFlavorException | IOException e1) {
 					// TODO Auto-generated catch block
-					JLabel message = new JLabel("The Clipboard information can't be pastet into Application.");
+					JLabel message = new JLabel("The Clipboard information cannot be pastet into Application.");
 					JOptionPane.showMessageDialog(null, message, "", JOptionPane.ERROR_MESSAGE);
 				}
 				repaint();