aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes For Rob Warner  -  Web dev question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "For Rob Warner  -  Web dev question" Watch "For Rob Warner  -  Web dev question" New topic
Author

For Rob Warner - Web dev question

Mike Firkser
Ranch Hand

Joined: Oct 21, 2003
Posts: 247

Does this technology lend itself well into web developement (especially J2EE and JSP) and does your book go into detail on this?

Thanks.


Mike Firkser
Rutgers '84
Rob Warner
author
Ranch Hand

Joined: Apr 22, 2004
Posts: 50
No, SWT and JFace are not for web development. SWT is a GUI library for building desktop applications. JFace is an abstraction layer on top of SWT.

You can, however, build fat clients that connect to the Internet. In fact, you can embed a browser in an SWT/JFace application. Chapter 12 discusses this.
Greg T Robertson
Ranch Hand

Joined: Nov 18, 2003
Posts: 91
Does chapter 12 discuss the use of both Mozilla (or it's variants etc) and IE or is it focused solely on the use of IE? Does it go into detail discussing other browsers like Konqueror, etc?

edit: for clarity
[ July 08, 2004: Message edited by: Greg T Robertson ]
Rob Warner
author
Ranch Hand

Joined: Apr 22, 2004
Posts: 50
Chapter 12 discusses embedding the SWT Browser widget in your SWT app. Under the covers, SWT uses IE on Windows, Mozilla on Linux, and Safari on Mac. It uses something else on QNX--I forget what. Those are the only platforms that support the Browser widget, and you can't change which browser is used.
Greg T Robertson
Ranch Hand

Joined: Nov 18, 2003
Posts: 91
Interesting approach (the separate browsers across the platforms). Could one if they were so inclined then write a single "browser" widget so to speak that could use mozilla across all platforms? (Bear in mind I know little to nothing about SWT but have seen questions related to this in other forums)
 
jQuery in Action, 2nd edition
 
subject: For Rob Warner - Web dev question