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.

Bug 154655

Summary: JavaTargetChooserPanel should provide APIs for getting current GUI values
Product: java Reporter: _ potingwu <potingwu>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ potingwu 2008-12-04 20:13:37 UTC
org.netbeans.modules.java.project.JavaTargetChooserPanel should provide APIs for getting current GUI values. I.e.,
especially "Class Name" and "Package".

The use cases are: when using this class JavaTargetChooserPanel, developers usually add their customized bottom panel
for getting more options. And very often, the bottom panel's values will dynamically be updated according to the current
values of "Class Name" and "Package". But currently there is no such API to get these values.

I believe this is a missing API because the class JavaTargetChooserPanel can be listened when the current contents have
been changed. But the client can only know the 'source'. No any useful values can be grabbed. Hence make this listener
mechanism has no big value.

P2 because this missing API caused all the clients cannot be 'smarter'; when users type new things above but the bottom
part cannot be showing more useful and correct information. This is an important IDE features for helping the developers.