aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Beginner JAVA - Want to put GUI and JAVA into webpage HTML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Beginner JAVA - Want to put GUI and JAVA into webpage HTML" Watch "Beginner JAVA - Want to put GUI and JAVA into webpage HTML" New topic
Author

Beginner JAVA - Want to put GUI and JAVA into webpage HTML

Carrie Wiley
Greenhorn

Joined: Dec 04, 2010
Posts: 1
I was wondering if anyone could tell me how to simply implement my JAVA code which is a GUI that calls events onto an active webpage.

I have a class project that I would like to present on an HTML webpage. Is this possible?
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3056
    
  33

You might want to try using Applets.


Mohamed Sanaulla | My Blog
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9993
    
    7

Welcome to the Ranch.

GUI, events, HTML. hmmm.... Sounds similar to this technology!


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Paul Okeke
Ranch Hand

Joined: May 16, 2009
Posts: 58
Carrie Wiley wrote:I was wondering if anyone could tell me how to simply implement my JAVA code which is a GUI that calls events onto an active webpage.

I have a class project that I would like to present on an HTML webpage. Is this possible?
nk


"Onto an active webpage" I think this is only possible with Ajax but NOT from Java.
But, if you want such from Java then think of Applet


OCJP 1.6
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
"Onto an active webpage" I think this is only possible with Ajax but NOT from Java.

It is possible. Applets can access both the page DOM and Javascript methods on the web page they're on. The terms to search for are "Common DOM API" and "LiveConnect", respectively.
Paul Okeke
Ranch Hand

Joined: May 16, 2009
Posts: 58
Lester Burnham thanks for correction I confirmed it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Beginner JAVA - Want to put GUI and JAVA into webpage HTML
 
Similar Threads
jsp to swing
Java applications on the website
Use Servlet to read a webpage.
Msg from applet to browser
Saving HTML of a webpage