mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-18 16:48:22 +00:00
action lsiteners converted to java 8 member references 2
This commit is contained in:
@@ -340,8 +340,7 @@ public class PreviewPanel extends JSplitPane {
|
||||
/*JPanel bottomPanel = new JPanel(new BorderLayout());
|
||||
JPanel buttonsPanel = new JPanel(new FlowLayout());
|
||||
JButton selectColorButton = new JButton(View.getIcon("color16"));
|
||||
selectColorButton.addActionListener(mainPanel);
|
||||
selectColorButton.setActionCommand(MainPanel.ACTION_SELECT_BKCOLOR);
|
||||
selectColorButton.addActionListener(mainPanel::selectBkColor);
|
||||
selectColorButton.setToolTipText(AppStrings.translate("button.selectbkcolor.hint"));
|
||||
buttonsPanel.add(selectColorButton);
|
||||
bottomPanel.add(buttonsPanel, BorderLayout.EAST);
|
||||
|
||||
Reference in New Issue
Block a user