File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes how to use Tabs(e.g in swing apps) in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "how to use Tabs(e.g in swing apps) in JSP" Watch "how to use Tabs(e.g in swing apps) in JSP" New topic
Author

how to use Tabs(e.g in swing apps) in JSP

Monica. Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 183
it is not possible to call Swing in JSP.but I have seen components in JSP websites which look like spring components with Tabs.which ones to use then. I want to give professional look to website with options,.Instead of menu I want to make like Tabs.which components to use for tabs.thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56179
    
  13

It's all a matter of using HTML, JavaScript and CSS to create the elements that create "tabs".

As this has nothing to do with JSP, it's been moved to the HTML forum.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56179
    
  13

For example, one possible implementation is the tab widget of jQuery UI..

There are many others, or you could build your own if you know HTML, CSS and JavaScript well.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56179
    
  13

Another possibility, if you are knowledgable in Java, but not in HTML, CSS, and JavaScript, is to use the Google Web Toolkit (GWT) to generate a web site from Java code.

I'm not personally a fan of this approach, but it might be a viable option for people or companies that have only Java expertise.
Arun Giridhar
Ranch Hand

Joined: Mar 10, 2012
Posts: 89

Bear Bibeault wrote:I'm not personally a fan of this approach


Why
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56179
    
  13

We're not going to sidetrack this topic with a discussion of GWT, but suffice it to say that I can hand-code much better HTML, JavaScript and CSS without having a tool (with all its limitations) generating the code for me.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to use Tabs(e.g in swing apps) in JSP
 
Similar Threads
Loading/Saving a Listbox
swing
Rock-Paper-Scissors Game
help..on Next n Previous Button
Swing Second Edition (Manning)