lightweight « Development « Java Swing Q&A





1. Pure lightweight application in java    stackoverflow.com

Is it possible to write "pure" lightweight code in java? Swing is lightweight but even it has heavyweight components like JWindow, JFrame, JDialog, and JApplet. So even Swing applications are not ...

2. Weird swing heavyweight & lightweight mixing problem    stackoverflow.com

We have a problem in our swing based application since we've upgraded our java version from 6u5 to 6u18 (The application runs over WinXP). Our application contains a Canvas object which resides ...

3. Lightweight Component over Heavyweight Component problem    stackoverflow.com

The code pretty huge and involves a lot of different class/methods: But here is the gist: There is a main frame : A_Main Selecting something in the main frame A: opens a ...

4. Lightweight on top of heavyweight    stackoverflow.com

I have a JFrame that has a JLayeredPane. The JLayeredPane contains a heavyweight component (Ardor3d AWT canvas). I am trying to display a JPanel on top of the heavyweight ...

5. Java swing: Remanence when removing a heavyweight jogl component to add a lightweight component at the same place    stackoverflow.com

In my swing application, when I remove a jogl GLCanvas from my main component to add a jPanel at the same place, there are some display glitches: During the time when the ...

6. Implementing a lightweight java webbrowser    stackoverflow.com

This is my first question on Stack Overflow , so if it is bad form please excuse and correct me ! As the Title implies I am trying to implement a light-weight ...

7. Java Swing: overlay components for light and heavyweight components?    stackoverflow.com

Are there any good overlay component library for both lightweight and heavyweight components? Is this achievable with JLabel even with highest opacity setting? The overlay component needs to be placed over any part ...

8. Swing - Lightweight ?    coderanch.com





10. heavyweight & lightweight    coderanch.com

11. why swing are lightweight while awt are heavyweight?    coderanch.com

Because each "heavyweight" component has a native peer, and "lightweight" components do not. Since AWT is heavyweight, each AWT Button has a corresponding MFC button on the windows platform, or Motif button on a Unix platform. Since Swing is lightweight, the graphics of the button is just drawn on top of the frame... there is no underlying MFC or Motif button. ...

12. Why is Swing called lightweight?    coderanch.com

13. Heavyweight and Lightweight!!!    coderanch.com

14. Lightweight component    coderanch.com

15. Lightweight component    coderanch.com

16. lightweight vs heavyweight    coderanch.com





17. lightweight component    coderanch.com

18. Lightweight and Heavyweight components    java-forums.org

I just have a really quick question about using Lightweight (most Swing components) and Heavyweight (all AWT components?) together, or in other words using Swing and AWT together. I have heard and read that doing this is bad, I'm not entirely sure why but it seems to have something to do with most Swing components being lightweight and "borrowing" a screen ...