Removed commented out/dead code

This commit is contained in:
nathan 2017-01-30 01:56:12 +01:00
parent 042bf973c7
commit 3d510e7092
4 changed files with 0 additions and 50 deletions

View File

@ -131,14 +131,6 @@ class Menu extends MenuItem {
}
}
// /**
// * Adds a swing widget as a menu entry.
// *
// * @param widget the JComponent that is to be added as an entry
// */
// TODO: buggy. The menu will **sometimes** stop responding to the "enter" key after this. Mnemonics still work however.
// Entry add(JComponent widget);
/**
* Adds a menu entry, separator, or sub-menu to this menu
*/

View File

@ -131,20 +131,6 @@ class TestTray {
submenu.add(disableMenu);
// TODO: buggy. The menu will **sometimes** stop responding to the "enter" key after this. Mnemonics still work however.
// submenu.add(new MenuItem("Hide tray", LT_GRAY_BUS, new ActionListener() {
// @Override
// public
// void actionPerformed(final ActionEvent e) {
// MenuItem source = (MenuItem) e.getSource();
// JProgressBar progressBar = new JProgressBar(0, 100);
// progressBar.setValue(new Random().nextInt(101));
// progressBar.setStringPainted(true);
// source.getSystemTray().add(progressBar);
// }
// }));
submenu.add(new MenuItem("Hide tray", LT_GRAY_BUS, new ActionListener() {
@Override
public

View File

@ -189,20 +189,6 @@ class TestTrayJavaFX {
submenu.add(disableMenu);
// TODO: buggy. The menu will **sometimes** stop responding to the "enter" key after this. Mnemonics still work however.
// submenu.add(new MenuItem("Hide tray", LT_GRAY_BUS, new ActionListener() {
// @Override
// public
// void actionPerformed(final ActionEvent e) {
// MenuItem source = (MenuItem) e.getSource();
// JProgressBar progressBar = new JProgressBar(0, 100);
// progressBar.setValue(new Random().nextInt(101));
// progressBar.setStringPainted(true);
// source.getSystemTray().add(progressBar);
// }
// }));
submenu.add(new MenuItem("Hide tray", LT_GRAY_BUS, new ActionListener() {
@Override
public

View File

@ -148,20 +148,6 @@ class TestTraySwt {
submenu.add(disableMenu);
// TODO: buggy. The menu will **sometimes** stop responding to the "enter" key after this. Mnemonics still work however.
// submenu.add(new MenuItem("Hide tray", LT_GRAY_BUS, new ActionListener() {
// @Override
// public
// void actionPerformed(final ActionEvent e) {
// MenuItem source = (MenuItem) e.getSource();
// JProgressBar progressBar = new JProgressBar(0, 100);
// progressBar.setValue(new Random().nextInt(101));
// progressBar.setStringPainted(true);
// source.getSystemTray().add(progressBar);
// }
// }));
submenu.add(new MenuItem("Hide tray", LT_GRAY_BUS, new ActionListener() {
@Override
public