Questions tagged [jmenupopup]
6 questions
8
votes
4 answers
How to select first item in JPopupMenu?
In the past, when one made a JPopupMenu visible it's first item would get selected by default: http://weblogs.java.net/blog/alexfromsun/archive/2008/02/jtrayicon_updat.html
Nowadays the default behavior is to pop up the menu without any item…

Gili
- 86,244
- 97
- 390
- 689
1
vote
0 answers
Java JMenu opening. Open upwads instead of open down
Hi have the follow doubt: I want that my java JMenu can be opened upwards instead of opened down. At this moment I can't find any solution for it. I want your help.
I dont want this common behaviour, I want the opposite...
(source: esimplesoft.es)…

Sérgio Condeço
- 83
- 1
- 6
0
votes
3 answers
How to select an item from menu-popup with selenium?
How can i select an element from menu-popup?
For example i want to choose Mr.
This is the site code:
0
votes
2 answers
Selenium does not recognize an element in some of the times
I have an element that selenium doesn't recognize sometimes.
I'm using implicitlyWait of 10 seconds and when i'm runing the test sometimes it passed succesfully and the element is recognized, and sometimes it failes with error "No such element".
I…

Lior p
- 45
- 6
0
votes
1 answer
JMenu setDelay() pop down delay
In my application, I have a JPopupMenu that displays a set of sub-menus:
private static JMenu createMenu(String title) {
JMenu menu = new JMenu(title);
menu.setDelay(2000);
menu.add(new JMenuItem("123"));
menu.add(new…

Huey
- 2,714
- 6
- 28
- 34
-7
votes
1 answer
Android difficulty with menu popup
In Android, is it possible to design a menu popup as we would like too like give borders for the menu, change text colors ...?

hamou amroun
- 21
- 1
- 2