JSF of java support for HTML5 [duplicate] - java

This question already has answers here:
Is it possible to use JSF+Facelets with HTML 4/5?
(5 answers)
Closed 9 years ago.
Is it possible to use JSF(Java EE) to create html5 pages instead of xhtml ?
If so are there many support issues due to html5 ?

As far as i know there isn't build-in support for html5.
All components are rendered as XHTML.
But you can alter these components to produce html5 and create new that support it.
See ICEfaces.
There are number of controls out there that support already html5.
An insteresting article series can be found here JSF 2 fu: HTML5 composite components

Related

How do I display Swing component on JSP? [duplicate]

This question already has answers here:
Is it possible to display Swing components in a JSP?
(3 answers)
Closed 5 years ago.
I want to do this because I want to print a Swing component on client side printJob.print(); always print on server side. Is there any other way to do so?
Since browser manufacturers removed support for applets and Java Web Start, and they were deprecated by Oracle, there is really no way to display Java GUI components on the client side from within a web-app.
An alternative might be to generate an image of the component on the server side and send that image to the client. On the other hand, there is little that can be rendered in a Swing component that can't be rendered in pure HTML, so I doubt that Swing components are even necessary.

Generating / viweing XML content in bar,pie charts : Java [duplicate]

This question already has answers here:
Libraries for pretty charts in SWT? [closed]
(11 answers)
Closed 8 years ago.
We have a Java rcp product, we need to generate results reading an xml file ie,Data source is XML file. Which tool / library I need to use to view/ populate xml data in bar,pie charts ?
OK, I have a crazy idea. Since you have an Eclipse RCP product you could use RCP to display a chart! There libraries such as http://www.swtchart.org which support charts in native SWT. And they are the number one hit on Google, too! And of course the good old http://www.jfree.org/jfreechart. Welcome.
Oh and the Eclipse BIRD Engine: http://www.eclipse.org/articles/article.php?file=Article-BIRTChartEngine/index.html.

Is it possible create a Java desktop GUI with HTML? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to use HTML and CSS as a Java application GUI?
I'm trying to found another way to create GUIs for Java programs without Swing. I want something more dynamic and easy to use than Swing.
There is anything that I can use for this?
In truth, I want something similar to HTML. Exists?
JavaFX 2.0 might be what you are looking for (ignore JavaFX 1.0 which is very outdated):
It has an HTML-style layout language called FXML.
It also allows skinning of user interfaces with CSS-style themes.
It also has a WebView component that allows you to embed any web / HTML content in your app.
Having said that, I don't think Swing is hard to use when you get used to it, particularly if you use an improved layout manager like MigLayout.

making web browser [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Using java to create a web browser
Is there any way to make a webbrower using java?.
if yes pls give the idea about it.
Of course you can make a webbrowser by using java.
You would have to parse the html content of the pages you request.
If you're not interested in creating your own browser, here is a link how to display simple html files.

Java equivalent to WPF [duplicate]

This question already has answers here:
What is Java's answer to WPF? [closed]
(3 answers)
Closed 4 years ago.
Is there an Java equivalent to the WPF platform?
No, but there is JavaFX which can be compared to Flash/Flex & SilverLight
The most likely answer is Soyatec's eFace. It supports several key features of WPF. It uses XAML and databinding, so you can apply MVVM and test your ViewModel. Also it supports templating.
Also, this is used in Eclipse e4.
JavaFX is SUN's trial to compete with WPF.
It can be used in both Applets and Desktop applications
You can see this comparison
Please take a look at Qt Jambi. It uses the Qt framework:
http://qt-jambi.org/

Categories

Resources