mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
485 Upgrade Project and Build to Java 11 (#496)
* Updates gradle to 5.1.1 * Updated to run application from intellij using installed Java 11. Resolves issues with Java 9 deprecations. * Updates gradle build dependencies and other deprecation issues. * Updates gradle to produce OS-specific builds. * Updates the beryx runtime plugin to 1.1.1 to resolve issue with zipping each of the target distributions. * Import cleanup * Resolves issue with Look and Feel error on Max OSX Resolves issue with building OSX package Resolves issue with excessive logging about JMBE library.
This commit is contained in:
@@ -365,8 +365,8 @@ public class SpectralDisplayPanel extends JPanel implements Listener<ReusableCom
|
||||
mOverlayPanel.addMouseWheelListener(mouser);
|
||||
|
||||
//Add the spectrum and channel panels to the layered panel
|
||||
mLayeredPanel.add(mSpectrumPanel, new Integer(0), 0);
|
||||
mLayeredPanel.add(mOverlayPanel, new Integer(1), 0);
|
||||
mLayeredPanel.add(mSpectrumPanel, 0, 0);
|
||||
mLayeredPanel.add(mOverlayPanel, 1, 0);
|
||||
|
||||
//Create the waterfall
|
||||
mWaterfallPanel.addMouseListener(mouser);
|
||||
@@ -878,13 +878,13 @@ public class SpectralDisplayPanel extends JPanel implements Listener<ReusableCom
|
||||
mWindowOffset = windowOffset;
|
||||
|
||||
Hashtable<Integer,JComponent> labels = new Hashtable<>();
|
||||
labels.put(new Integer(0), new JLabel("1x"));
|
||||
labels.put(new Integer(1), new JLabel("2x"));
|
||||
labels.put(new Integer(2), new JLabel("4x"));
|
||||
labels.put(new Integer(3), new JLabel("8x"));
|
||||
labels.put(new Integer(4), new JLabel("16x"));
|
||||
labels.put(new Integer(5), new JLabel("32x"));
|
||||
labels.put(new Integer(6), new JLabel("64x"));
|
||||
labels.put(0, new JLabel("1x"));
|
||||
labels.put(1, new JLabel("2x"));
|
||||
labels.put(2, new JLabel("4x"));
|
||||
labels.put(3, new JLabel("8x"));
|
||||
labels.put(4, new JLabel("16x"));
|
||||
labels.put(5, new JLabel("32x"));
|
||||
labels.put(6, new JLabel("64x"));
|
||||
|
||||
setLabelTable(labels);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user