IntelliJ Java IDE
The moose likes HTML, CSS and JavaScript and the fly likes java/javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "java/javascript" Watch "java/javascript" New topic
Author

java/javascript

kevin schmidt
Ranch Hand

Joined: Aug 24, 2001
Posts: 85
Hi...

I want to use Java's JComboBox to create a editable combo/dropdown box. I was wondering if it is possible to use their example and place it in a javascript file or into an HTML page, or if anyone knows of any examples out there that do this. The closest example that I found was some code at www.ycode.com under combo box, but it doesn't work for me. Any ideas?

TIA.

kevin
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50677

No. Swing controls cannot be used from either Javascript or HTML.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
 
subject: java/javascript
 
Threads others viewed
dynamically adding component to JPanel
Combobox Problem
use AJAX to save data
Copy Element
JavaScript Conditional Operator(i.e., ?)
developer file tools