To earn money on java go to upwork.com
Volodymyr Levytskyi wrote:Hello!
Maybe AjaxSwing can help you! Details on http://www.creamtec.com/products/ajaxswing/
To earn money on java go to upwork.com
Volodymyr Levytskyi wrote:Hello!
I don't know anything about ajaxswing. I thought it could help!
I've heard that something as what you want can be performed by JApplet. Details on http://docs.oracle.com/javase/tutorial/deployment/applet/index.html
To earn money on java go to upwork.com
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Tim Holloway wrote:Because of the extra time delays involved in client/server applications running over the Internet, the only web-based paint programs I've ever seen did all their painting work in JavaScript, Flash, or as an applet where the real-time processing code can be can be executed locally instead of on the server.
One reason why Swing cannot be used in webapps is because not only are the protocols unsuitable, but Swing ultimately taps into the graphics card to do its rendering, and if the graphics card is in one computer, but the graphics terminal is in another computer... Whoops!
Volodymyr Levytskyi wrote:I don't understand why you don't like applets!
I am sure that you cannot provide by JSF something like JPanel or JFrame with its repaint() methods which do all immediately.
JSF is web framework and its job is to be on server and listen for HTTP requests coming from browser.
JSF is on server but Swing is on your desktop!
Maybe you should provide your own custom browser in Swing.
This browser can allow user to paint (when mouse is moved) and it allows to send HTTP requests.
Something like : new JEditorPane("http://www.google.com/");
To earn money on java go to upwork.com
Volodymyr Levytskyi wrote:To my mind it is the most popular and cool to use JavaScript for programs that run in browser.
Tim Holloway wrote:Because of the extra time delays involved in client/server applications running over the Internet, the only web-based paint programs I've ever seen did all their painting work in JavaScript, Flash, or as an applet where the real-time processing code can be can be executed locally instead of on the server.
One reason why Swing cannot be used in webapps is because not only are the protocols unsuitable, but Swing ultimately taps into the graphics card to do its rendering, and if the graphics card is in one computer, but the graphics terminal is in another computer... Whoops!
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |