mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-22 16:17:44 +00:00
Performance pass 1 (Fix array size)
This commit is contained in:
1 parent
c84c462aeb
commit
f8f8b884bc
7 files changed
+10
-10
No files matched your search
@@ -298,7 +298,7 @@ public class NoiseExplorer extends JPanel implements MouseWheelListener
|
||||
NoiseExplorer nv = new NoiseExplorer();
|
||||
frame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
|
||||
KList<String> li = new KList<NoiseStyle>(NoiseStyle.values()).toStringList();
|
||||
combo = new JComboBox<String>(li.toArray(new String[li.size()]));
|
||||
combo = new JComboBox<String>(li.toArray(new String[0]));
|
||||
combo.setSelectedItem("STATIC");
|
||||
combo.setFocusable(false);
|
||||
combo.addActionListener(new ActionListener()
|
||||
|
||||
Reference in new issue
Block a user