The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Bringing Swing to the Web
Subject:  Having trouble getting things to lay out properly
Date:  2006-09-17 12:11:38
From:  bentley
Response to: Having trouble getting things to lay out properly


Thanks for the response. The JFrame code that you suggest was very similar to what I have in the original Swing app and things displayed just fine. However, i'm trying to get the image to display in a 'headless' environment without any local windowing graphics support (other than the remote browser), and i'm lead to believe that you can't use any related heavyweight peers in such a mode. (In fact, I recall getting an X11-related exception when I introduce the peer.)

Given the strong market drive towards providing web-2.0 lightweight clients, providing such support in Swing would make a great deal of sense for continuing to make it a viable presentation API in the face of alternatives (such as Eclipse).

 Feed java.net RSS Feeds