Changes the invoker type of extended popup menu, so we can pass main frame as invoker.

fix-message-formatting
Damian Minkov 12 years ago
parent 7e1d450bee
commit 609467c755

@ -30,7 +30,7 @@ public class ExtendedPopupMenu
/**
* The invoker component.
*/
private final JComponent invoker;
private final Component invoker;
/**
* Creates this dialog by specifying a list of items to choose from.
@ -39,7 +39,7 @@ public class ExtendedPopupMenu
* @param title
* @param menuItems the list of items to select through
*/
public ExtendedPopupMenu(JComponent invoker,
public ExtendedPopupMenu(Component invoker,
String title,
List<JMenuItem> menuItems)
{

Loading…
Cancel
Save