Master:
# 1    JMenuBar is hidden by other components                  
hans
Online no
State
Grouping Member
Class class4
Score 221
Wealth 155.5
Posts 156
Login 21:17:46
The drop down menu is hidden by other components, e.g., JSplitPane, ScrollPane. Any idea to figure it out?
Hits: 797, Date: 2010-05-19 06:35:24
[Agree] ( 16 ) [Against] ( 17 )

# 2    You need to check whether you use heavyweight components                  
exp
Online no
State
Grouping Member
Class class4
Score 348
Wealth 219
Posts 269
Login 11:49:09
i see you use ScrollPane.
You should try JScrollPaneinsterd of ScrollPane.
I have simialr problem before, someone told me the problem, i just ignored, i don't think i use any heavyweight components. Finally, i checked that i used one indeed, all problems were solved when i changed the component to lightweight, e.g., changed TextArea to JTextArea. Hope this help.
Hits: 795, Date: 2010-05-19 06:41:02
[Agree] ( 14 ) [Against] ( 15 )

# 3    Yes, it is the probelm of ScrollPane                  
hans
Online no
State
Grouping Member
Class class4
Score 221
Wealth 155.5
Posts 156
Login 21:17:46
I use method setViewportView() insterd of add() for JScrollPane
Hits: 789, Date: 2010-05-19 08:03:33
[Agree] ( 14 ) [Against] ( 20 )

1 - 3 [ 3]

Reply: JMenuBar is hidden by other components

*First line:


More content:


Tags:



Hint: You cannot post here before loginLogin | Register

nothing