This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | [65cat] Phantom button on Add business method dialog | ||
---|---|---|---|
Product: | javaee | Reporter: | vanob <vanob> |
Component: | EJB | Assignee: | pslechta <pslechta> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | dkonecny, martin_adamek |
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | add business method dialog |
Description
vanob
2008-08-14 14:46:13 UTC
Created attachment 67417 [details]
add business method dialog
I cannot reproduce but I'm not on Windows. Try to reproduce it please and resize the dialog to see what happens. Looks to me like panel was not repainted properly. There are no other buttons then add/remove/up/down. Reproducible on Win XP. Once you switch between Exceptions and Parameters tabs, the dialog is OK. Tried to replicate one more time but not able to do it right now... Seems to be random problem... Sounds like layout manager problem? Pressing Alt on Windows shows mnemonics which will cause dialog redraw. Perhaps form has something wrong - re-aligning all items in form could resolve the problem. But if reproducible it would be interesting to know what's happening and what's wrong. Steps to reproduce: open Add business method dialog and press Alt. Buttons are repainted and you see also phantom buttons (these buttons are from the second tab, which should not be visible, because the first tab is active at the time)... JDK (Swing) issue (I'm able to reproduce with very simple example outside of NetBeans). I did file a bug against Java SDK. Fixed. http://hg.netbeans.org/main/rev/76f2a3973cb8 Fixed based on workaround: do not call JPanel.setVisible(true) on JPanel that belongs to JTabbedPane... Integrated into 'main-golden', available in build *200808210201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/76f2a3973cb8 User: pslechta@netbeans.org Log: #143933 [65cat] Phantom button on Add business method dialog verified. NetBeans IDE Dev (Build 200812080201) |