Platform « JPanel « Java Swing Q&A





1. Panel visualizes in JFrame, but not in TopComponent.    forums.netbeans.org

Mattio423 Posted via mailing list. Posted: Tue Jul 21, 2009 9:51 pm Post subject: Panel visualizes in JFrame, but not in TopComponent. I have a JPanel based GUI ...

2. Panel visualizes in JFrame, but not in TopComponent.    forums.netbeans.org

Hi, if you add it in componentActivated you will be adding every time the TC got the focus. I would set BorderLayout to the TopComponent (using Navigator) and "add(my3rdPartyPanel, BorderLayout.CENTER)" after ...

3. Contents of extended JPanel don't appear when placed in TopComponent    forums.netbeans.org

Hi, I have a custom Swing component that extends from JPanel. It resides within the same module as my TopComponent implementation. If I preview the component itself, it shows correctly. However, ...

4. how to refresh beanstreeview from a jpanel    forums.netbeans.org

Hi, In a netbeans platform I have two modules: viewer: is a beanstreeview and shows nodes from a database. When you click a node some information fields are displayed in jpanel's ...

5. How to make a jPanel component or a wizard appear at startup?    forums.netbeans.org

Okay, I searched on google and on these forums but with no success... I developped a netbeans platform application and I am putting the final touch with a welcome wizard (or ...

6. [platform-dev] DialogDescriptor and custom JPanel    forums.netbeans.org

Greetings, I have a custom panel that I'm using with a DialogDescriptor. On the custom panel there are three editable combo boxes. Whenever I type something in any one of the ...

7. How to use LookUps with JPanel    forums.netbeans.org

Hello everybody I have a quite simple problem to solve, but i can't figure it out, using the existing tutorials. I have two modules: VisualEditor and LatexViewer. LatexViewer should update its ...

8. Is there any way we can have two jpanels within a single top component containing different sets of node    forums.netbeans.org

Hi, We have a requirement to display nodes in a list view format in two Jpanels within one TopComponent. The nodes that we need to display in the jpanels does not ...

9. how to create custom java file type like there is for Jpanel, Jframe    forums.netbeans.org

Hi, I want to create a custom java file type like JPanel, JFrame which differs from simple java class, interface. I want to have guarded blocks in these files of new custom java file type. I also want to know if guarded block are possible in only .java files? Thanks in advance Sujit..





10. Slow graphics repainting a JPanel in a TopComponent    forums.netbeans.org

I'm porting an application into the Netbeans Platform and experiencing very slow redraw times. Previously, I had a JPanel placed in a JFrame when running stand-alone. For panning/zooming, I call repaint(). The JPanel's paintComponent(Graphics g) simply redraws all the 2D graphics. There are probably several hundred 2D primitives (although I haven't counted them). Running stand-alone, the panning/zooming is fast enough so ...

11. [platform-dev] Manually changing JPanel content : GUI doesn't update as expected    forums.netbeans.org

Hi All. I need to implement editors which change a "SubEditorPanels" content due to the selection in a JComboBox. I have hooked in a ActionListener to the ComboBox and run the following code. However the GUI elements do not appear until I have clicked the Mouse in the SubEditorPanel. As well the components are not removed (at least still shown in ...

12. How Add custom Jpanel to TopComponent    forums.netbeans.org

Hi, please can anyone tell me how i can add custom Jpanel into existing TopComponent ? I have created Jpanel with 1 button. I try create Jpanel into TopComponent from pallet and then try put my customJpanel into this which i create

13. [platform-dev] Lookups from a JPanel    forums.netbeans.org

Hi: Our team have just started to work on using Netbeans RCP. We would like to ask if anyone has tried to provide content to Lookup from a Jpanel and not from a Top Component. Have looked around and it seems that the Top Component is needed to provide content to a Lookup. I.e. Associate Lookup. Is there a way to ...