Q: multiple views
Tientien Li <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
Hi, I was looking for examples on how to implement a module supporting multiple views. Two approaches used by netbeans modules were found: 1) Property Editor: one can "open" a property file in a GUI editor or "edit" it in a text editor. Each action opens a separated top component. 2) Java Form Editor: one can "open" a Java form in a GUI editor or "edit" it in a text editor. However, both action interact with the same top level TC. The first approach, one view per TC per action, is probably easier to implement. The second approach, one view per action in a shared TC, looks a lot better but may require some more work to implement. Is there a netbeans UI standard on how to implement a module with multiple views? Any suggestion on which approach should be used? Thanks, -- Tientien Li __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com