Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > Pro JSP
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro JSP Advanced JSP coding questions. Beginning questions will be redirected to the Beginning JSP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro JSP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 13th, 2009, 05:41 AM
Registered User
 
Join Date: Oct 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default call Java GUI from JSP

for example this is java file:TestingUI.java

Code:
package sample.sham.ui;
import java.awt.*;


public class TestingUI {

    Label label1;

    public TestingUI() {
     label1 = new Label("Testing label");

    }

    public void init(){
    	TestingUI testingUI = new TestingUI();
        
        }
}
how i wan call this Label from JSP??
Reply With Quote
  #2 (permalink)  
Old October 13th, 2009, 07:41 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

If its an Applet/JApplet, I think you will have access to it [access to methods in it] using Java script!
__________________
- Rakesh
http://iam-rakesh.blogspot.com
Reply With Quote
  #3 (permalink)  
Old October 13th, 2009, 11:08 PM
Registered User
 
Join Date: Oct 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by rakesh_mscit View Post
If its an Applet/JApplet, I think you will have access to it [access to methods in it] using Java script!
wahh.. using javascript..??? hmmm.. actually i wan make it as a widget.. then any jsp can call it..
Reply With Quote
  #4 (permalink)  
Old October 14th, 2009, 01:46 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

Is it possible for you to define the problem you are trying to solve! It gives scope for people here to fine some solutions! Including me :-)
__________________
- Rakesh
http://iam-rakesh.blogspot.com
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
is there a useful java gui design tool? yulin11 Java GUI 4 September 2nd, 2008 11:20 PM
HTML GUI for java abhinayak Java GUI 1 February 1st, 2008 03:38 AM
call java file method to do something in JSP ypsmag JSP Basics 1 October 11th, 2006 02:43 PM
To put my GUI in JSP? Befekadu Pro JSP 0 March 10th, 2005 12:42 PM
Java GUI /Input linfakngiau BOOK: Beginning Java 2 0 October 19th, 2003 04:17 AM



All times are GMT -4. The time now is 02:30 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.