I have a JTabbedPane
with tabs on the top. To the right of the tabs, I add a button. This button is neither part of JTabbedPane
nor is it a tab. Unfortunately, it cannot be clicked. I guess this button is covered by the JTabbedPane
, because I moved the button down, it covered by the JTabbedPane
.
Can anybody give me some suggestion, so that I can click that button?
This is the layout; I can't upload image, so I draw it like below:
|-------------------------------------| | tab | tab | button | |-------------------------------------| | | | content | | | |-------------------------------------|