private void initGUI() {
    setLayout(new MigLayout("fill,wrap 2", "[right,grow][grow]", "[][][][][][grow]"));

    add(new JLabel("Airspy Tuner"), "span,align center");

    mFrequencyControl = new JFrequencyControl();

    mFrequencyControl.addListener(this);

    /* Add frequency control as frequency change listener.  This creates a
     * feedback loop, so the control does not rebroadcast the event */
    mTuner.addListener(mFrequencyControl);

    mFrequencyControl.setFrequency(mController.getFrequency(), false);

    add(mFrequencyControl, "span,align center");

    JideTabbedPane tabs = new JideTabbedPane();
    tabs.setFont(this.getFont());
    tabs.setForeground(Color.BLACK);

    add(tabs, "span,grow,push");

    tabs.add("Config", new AirspyTunerConfigurationPanel(mResourceManager, mTuner.getController()));

    tabs.add("Info", new AirspyInformationPanel(mTuner.getController()));
  }
 @Override
 public void frequencyChanged(FrequencyChangeEvent event) {
   if (event.getEvent() == Event.FREQUENCY_CHANGE_NOTIFICATION) {
     try {
       mController.setFrequency(event.getValue().longValue());
     } catch (SourceException e) {
       mLog.error("error setting frequency [" + event.getValue().longValue() + "]", e);
     }
   }
 }