Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Carrie Wiley
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 3169
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to try using Applets.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

GUI, events, HTML. hmmm.... Sounds similar to this technology!
 
Paul Okeke
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lester Burnham thanks for correction I confirmed it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!