• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

JTree

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have created a dynamic Jtree to display the data of sql table using JPanal.i want to open the result panel when i click a button(in html).is it possible?if yes please let me know the proper way?
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It would certainly be much easier if the button were a Java button; then you could have the table listen for a button click ("Display") and present itself.
Unless HTML's made big changes and I'm obsolete on that subject now, HTML widget are not applet-aware. You'd need to go back through the server with a POST request that's triggered by clicking your button. Then, something on the server-side (a servlet) would be invoked to update the table in the applet. Sounds painful.
Are you sure you can't just add a button to the existing applet?
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic