mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-18 04:31:55 +00:00
Context menu on pin header
Text Search => Text search
This commit is contained in:
@@ -127,6 +127,12 @@ public class PinButton extends JPanel {
|
||||
if (e.getButton() == MouseEvent.BUTTON1) {
|
||||
//setBorder(loweredBorder);
|
||||
}
|
||||
if (e.getButton() == MouseEvent.BUTTON3) {
|
||||
List<TreeItem> itemList = new ArrayList<>();
|
||||
itemList.add(item);
|
||||
mainPanel.getContextPopupMenu().update(itemList);
|
||||
mainPanel.getContextPopupMenu().show(PinButton.this, 0, PinButton.this.getHeight());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user