How can I add a vertical separator in the pop up menu of the app in the task bar ?
tray = SystemTray.getSystemTray();
openMenuItem = new MenuI
ideas
add Borders
(MatteBorders
for example) to the JMenuItem(s)
add JPanel
to the JPopup
have to set BorderLayout
for JPopup
and put JPanel
to the CENTER area
(and/or with Borders
too)
set BorderLayout
for JPanel
there put JSeparator
to the EAST
or WEST
area (depends or direction)
put there another JPanel
with JButtons
that simulating JMenuItem
(doesn't difrerence on 1st sight) with output to the Swing Action
or ActionListener
the same things with JWindow
(I using by default instead JPopup
or ToolTip
) instead of JPopup
maybe I'm wrong but JPopup
looks like as chameleon
once time as JPanel
,
another as JWindow
,
sorry no deepest knowledge, interest about