Package com.l2fprod.common.swing

Examples of com.l2fprod.common.swing.JTipOfTheDay


        }
        public void setShowingOnStartup(boolean showOnStartup) {
          showTip = showOnStartup;
        }
      };
      tipOfTheDayInstance = new JTipOfTheDay(TipLoader.load(Messages.getTipProperties()));
      tipOfTheDayInstance.setCurrentTip(Preferences.userNodeForPackage(TipOfTheDay.class).getInt("tipNumber",1));
    }
    if (forceShow || tipOfTheDayChoiceInstance.isShowingOnStartup()) {
      tipOfTheDayInstance.showDialog(owner, tipOfTheDayChoiceInstance,forceShow);
      tipOfTheDayInstance.nextTip(); // move to the next tip
View Full Code Here


        // an Icon
        tips.add(new DefaultTip("tip 4", new ImageIcon(BasicTipOfTheDayUI.class
          .getResource("TipOfTheDay24.gif"))));

        JTipOfTheDay totd = new JTipOfTheDay(tips);
        totd.setCurrentTip(0);

        totd.showDialog(new JFrame("title"), fake);
      }
    };

    JButton button = new JButton(title);
    button.addActionListener(action);
View Full Code Here

        }
        public void setShowingOnStartup(boolean showOnStartup) {
          showTip = showOnStartup;
        }
      };
      tipOfTheDayInstance = new JTipOfTheDay(TipLoader.load(Messages.getTipProperties()));
      tipOfTheDayInstance.setCurrentTip(Preferences.userNodeForPackage(TipOfTheDay.class).getInt("tipNumber",1));
    }
    if (forceShow || tipOfTheDayChoiceInstance.isShowingOnStartup()) {
      tipOfTheDayInstance.showDialog(owner, tipOfTheDayChoiceInstance,forceShow);
      tipOfTheDayInstance.nextTip(); // move to the next tip
View Full Code Here

TOP

Related Classes of com.l2fprod.common.swing.JTipOfTheDay

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.