Change methods visibility.

This commit is contained in:
Gabriel Augendre 2015-06-05 09:47:03 +02:00
parent 108b18fa6f
commit 92b7c59267
2 changed files with 3 additions and 6 deletions

View file

@ -8,8 +8,6 @@ import javax.swing.*;
import java.awt.*;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.StringSelection;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.util.ResourceBundle;
@ -52,7 +50,7 @@ public class MainPanel {
});
}
private String extractUpperCase(String s) {
public String extractUpperCase(String s) {
String upperCase = "";
for (int i = 0; i < s.length(); i++) {
char current = s.charAt(i);

View file

@ -1,7 +1,6 @@
package info.augendre.caps_extractor;
import javax.swing.*;
import java.util.ResourceBundle;
/**
* Created by Gabriel.
@ -12,7 +11,7 @@ public class MainWindow extends JFrame {
this.setup();
}
public JMenuBar createMenu() {
private JMenuBar createMenu() {
JMenuBar menuBar = new JMenuBar();
JMenu help = new JMenu(I18nSupport.translate("menu.help"));
menuBar.add(help);
@ -23,7 +22,7 @@ public class MainWindow extends JFrame {
return menuBar;
}
public void setup() {
private void setup() {
MainPanel mainPanel = new MainPanel();
JPanel contentPanel = mainPanel.getContentPanel();
this.setJMenuBar(createMenu());