Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1473

Re: Embedding a Jframe in

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Subject Re: Embedding a Jframe in
Message-ID <70dc60a6f2e1e@uwe> (permalink)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <1176840757.471015.271040@n59g2000hsh.googlegroups.com>
References <1176840757.471015.271040@n59g2000hsh.googlegroups.com>
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 40
Date Wed, 27 Apr 2011 15:33:31 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303918411 96.60.20.240 (Wed, 27 Apr 2011 10:33:31 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:33:31 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:1473

Show key headers only | View raw


  To: comp.lang.java.gui
pramodsa wrote:
..
>I need to get my project running on the web. So, I need to embed the
>JFrame in the JApplet, so that instead of calling the JFrame from the
>JApplet, i can call another JApplet which has this JFrame.

Do you control the source to all these frames and applets?
If so, it would be simplest to convert between applets and frames
as needed (in coding).  Note that if the main GUI is made within 
a JPanel, the JPAnel can be used in either a JFrame or JApplet
as needed.

Applets can (theoretically) call showDocument() to show another 
web page, but note that the showDocument() has never been
reliable, and provides no feedback (to the applet that makes the 
call).  Further, applets themselves are problematic, and becoming
ever more so.

I recommend you re-enginerr the application so that it..
1) Starts as a JFrame which opens..
2) Other GUI elements contained within JDialog s as needed, and is..
3) Launched using web start.

We start applications are launched from a link and much
easier to deploy than applets.  Here are some examples..
<http://www.physci.org/jws/>

HTH

-- 
Andrew Thompson
http://www.athompson.info/andrew/

Message posted via http://www.javakb.com

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Embedding a Jframe in an "pramodsa" <pramodsa@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000
  Re: Embedding a Jframe in "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000
    Re: Embedding a Jframe in "pramodsa" <pramodsa@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000
      Re: Embedding a Jframe in "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000
        Re: Embedding a Jframe in "pramodsa" <pramodsa@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000
          Re: Embedding a Jframe in "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000
      Re: Embedding a Jframe in "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000

csiph-web