Widget « Development « Java Swing Q&A





1. Any good Java Swing Timeline Widget?    stackoverflow.com

Is anybody aware of a good Java Swing Timeline Widget with features comparable to the Janus Winforms timeline component?

2. NetBeans create and instantiate programatically custom swing widgets    stackoverflow.com

I have a problem I know how I would solve easily developing under eclipse - but not so easily developing under net beans. I want to create a custom swing widget ...

3. Netbeans GUI Builder with Java Swing; What's the easiest way to organize Widgets?    stackoverflow.com

I'm developing a GUI application rapidly using a GUI buidler (Netbeans). I am frustrated with the Swing widgets... when I resize one the rest seem to "reorganize" themselves in the ...

4. Creating and reusing custom Swing widgets    forums.netbeans.org

Hey! I have a problem I know how I would solve easily developing under eclipse - but not so easily developing under net beans. I want to create a custom swing ...

5. Swing widgets become vertical bars    coderanch.com

6. How do I locate the instance name for a swing widget?    coderanch.com

Welcome to the Ranch Calvin. If you mean the name of the instance variable, it can be found out with reflection. If you mean the name field of awt.Component it can be accessed by getName and setName. import javax.swing.*; import java.awt.*; import java.lang.reflect.*; public class Test extends JFrame { JTextField fieldOne = new JTextField(); public static void main(String[] args) throws Exception ...

7. Native or Cross-Platform Widgets?    coderanch.com

Personally I prefer native widgets. Why should I have to learn a new set of standard dialogs and ways of manipulating a gui for the few applications written in java? I prefer my gui to not slow me down by making me figure out how it wants me to work. And why as a programmer should I have to upgrade my ...

8. when to dispose of widgets/objects    coderanch.com

9. Slush Bucket widgets    coderanch.com

Hi All I am looking for a multiple Item Selection widget(not like combolist)like Slush Bucket widgets (also known as the Twin Box design). I had read about it in the Eclipse ui guidelines but so far have been unable to obtain its code or a download. Has anyone used it before? Also is there any support in SWT for creating Wizards? ...





10. awt choice widget behavior question    coderanch.com

I just upgraded the jdk from 1.3 to 1.4 on a Redhat9 Linux machine. Then recompiled some client side code for a system, and noticed a change in behavior for the choice widget: setting the selected value of the choice widget seems to cause that widget to generate an event. It didn't do this before in 1.3. Other widgets I'm using ...

11. Widget dispose problem    coderanch.com

12. Widgets hierarchy    coderanch.com

Renderers in Swing don't follow the regular component hierarchy - for example, if you have a JLabel and a JButton in your tree cell renderer, there's no way through the component hierarchy to drill down from the frame->content pane->tree->label and just change the icon on the label in the 3rd child of the root node. Renderers basically are just "image snapshots" ...

13. Old NASA style counter widget built from Swing components    coderanch.com

Hey you guys....so um....I built an old NASA style counter widget from Swing components and thought you guys might like to use it as well for something. There's three files in this eclipse project and this is the first of the three: package lgfOldStyleCounter; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import javax.swing.*; public class Counter extends JPanel implements Runnable { int ...

14. A round gauge widget built using Swing    coderanch.com

Hey you guys I built a round gauge that you could use as a progress meter or something. There are two files in this eclipse project and this is the first of the two files: package lgfRoundGauge; import java.awt.Dimension; import javax.swing.JFrame; /* * this code started 15JUN2007 17:10 pm * finished 15JUN2007 23:07 pm */ public class RoundGauge { RoundGaugePanel rp; ...

15. Component/Widget creation    java-forums.org

Hi I'm new to Java and a little confused. I cannot tell for sure the difference between component and widgets and how to create my own. For example in QT/KDE controls that in java are called "components" are called "widgets". Any way to give an example I want to create a database browser that will contain a few labels and buttons, ...

16. Swing Widget    forums.oracle.com