Examples of FocusSettingsAdapter


Examples of de.sistemich.mafrasi.stopmotion.gui.FocusSettingsAdapter

    super();
    setLayout(new GridLayout(0, 2));
   
    JLabel l = new JLabel(Messages.getString("Path to") + " ffmpeg");
    JTextField tf = new JTextField(Settings.getPropertyString(ConstantKeys.configuration_ffmpeg));
    tf.addFocusListener(new FocusSettingsAdapter(ConstantKeys.configuration_ffmpeg));
    add(l);
    add(tf);
   
    l = new JLabel(Messages.getString("Path to") + " VLC");
    tf = new JTextField(Settings.getPropertyString(ConstantKeys.configuration_vlc));
    tf.addFocusListener(new FocusSettingsAdapter(ConstantKeys.configuration_vlc));
    add(l);
    add(tf);
   
    l = new JLabel(Messages.getString("Fullscreen"));
    JCheckBox cb = new JCheckBox("", Settings.getPropertyBoolean(ConstantKeys.configuration_fullscreen));
    cb.addFocusListener(new FocusSettingsAdapter(ConstantKeys.configuration_fullscreen));
    cb.addItemListener(new ItemListener(){
      private GraphicsEnvironment ge_ = GraphicsEnvironment.getLocalGraphicsEnvironment();
     
      @Override
      public void itemStateChanged(ItemEvent e) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.