running a native application inside a java frame

Is it possible to run a standard native app, like an editor, inside a Java
Frame,
so that I can use the 'glass pane' to overlay the application? I'm looking
for
a way to put Java popup menus over native apps.

Thanks,

Jeff


0
Jeff
11/2/2003 6:12:16 AM
comp.lang.java.gui 8307 articles. 0 followers. Post Follow

4 Replies
500 Views

Similar Articles

[PageSpeed] 47
It depends on what you mean as the "app".
Is it some window class sitting in DLL? Or just exe?

Theoretically you can "reparent" any window by SetParent() windows API.
But I think you should find other way.

Andrew Fedoniouk.
http://terra-informatica.org




"Jeff Bronte" <nospamhere@nospam.net> wrote in message
news:4f1pb.1528$qh2.325@newsread4.news.pas.earthlink.net...
| Is it possible to run a standard native app, like an editor, inside a Java
| Frame,
| so that I can use the 'glass pane' to overlay the application? I'm looking
| for
| a way to put Java popup menus over native apps.
|
| Thanks,
|
| Jeff
|
|


0
Andrew
11/2/2003 6:24:46 AM
"Jeff Bronte" wrote:

> Is it possible to run a standard native app, like an editor,
> inside a Java Frame,
> so that I can use the 'glass pane' to overlay the application? I'm
> looking for
> a way to put Java popup menus over native apps.

You would have to be extremely lucky if you find a hack to do this. 
Judging from your other question I would highly recommend to go for 
another language, e.g. some system programming language, or rethink 
what you want to do.
0
Harald
11/2/2003 6:27:29 AM
Jeff Bronte wrote:

> Is it possible to run a standard native app, like an editor, inside a Java
> Frame, so that I can use the 'glass pane' to overlay the application? I'm 
 > looking for a way to put Java popup menus over native apps.

The glassPane is a Swing-only thing and I doubt that you can combine 
this with heavy-weight application windows.  If you could restrict 
yourself to Windows and your app is an OCX or OLE document that could be 
embedded into an OLE container, you could use SWT (UI toolkit from the 
eclipse project) to add that app to an SWT window.  You could then add 
your graphics in a custom paint() method.


bye
-- 
Stefan Matthias Aust  // "Ist es normal, nur weil alle es tun?" -F4

0
Stefan
11/2/2003 10:18:26 AM
"Jeff Bronte" <nospamhere@nospam.net> wrote in message news:4f1pb.1528$qh2.325@newsread4.news.pas.earthlink.net...
> Is it possible to run a standard native app, like an editor, inside a Java
> Frame,
> so that I can use the 'glass pane' to overlay the application? I'm looking
> for
> a way to put Java popup menus over native apps.

http://java.sun.com/j2se/1.4.2/docs/guide/awt/1.3/enhancements.html#native

may be your best hope.


0
Sandip
11/2/2003 7:07:42 PM
Reply:
Similar Artilces:

Which core am I running on?
Is there some way I can get at this information at run-time? I'd like to use it to tag diagnostic output dumped during runs using Parallel Python. Peter psaffrey@googlemail.com wrote: > Is there some way I can get at this information at run-time? I'd like > to use it to tag diagnostic output dumped during runs using Parallel > Python. There should be a way, but not with the Python standard library. It's also platform-specific. What are you using? Linux, MacOS X, FreeBSD, Solaris, or maybe Windows? -- Gerhard psaffrey@googlemail.com wrote: > Is there some way I can...

running gcc generated binaries on different AIX hardwares with the same OS level
Hi, I have a newbie question which might be answered before. I am generating a binary using gcc on aix 5.1 with the PowerPC processor. Will the same binary run on a different processor(for example, POWER) but with the same os level aix 5.1? Thank you in advance! - Henry Henry Zhang wrote: > I have a newbie question which might be answered before. I am > generating a binary using gcc on aix 5.1 with the PowerPC processor. > Will the same binary run on a different processor(for example, POWER) > but with the same os level aix 5.1? It should, as long as it was compiled in common ...

How to copy with large user running concurrently?
Dear all, I have a SUN host ,F12000, 4cpu, 4 GB ram, running IDS 7.3 and it servers about 100 users at regular time and working fine. Now that We have a plan to open to the public for query and inserting data for a few days, and there will be more than 50 thousands peoples come in at the same time, and insert data concurrently. I am scared that the system will crash or what, I can't image what will it happen at that time. I don't want to cost much more money to scale up my host, because It last only for a few days. Is anyone can help me through this cheaperly? 100 user li...

visit http://www.real-article.com/java/index.php
The www.real-article.com website provides a ton of information about java. In addition, you will find extensive information on leading java to help you on your way to success. Please have a look at our java articles, products, resources, and additional information located throughout www.real-article.com. We strive to provide only quality articles, so if there is a specific topic related to java that you would like us to cover, please contact us at any time. visit http://www.real-article.com/java/index.php chuancs wrote: > The www.real-spam.com website provides a ton of inf...

Simulink Accelerator Running Same Model in Same Location
Hi, Is there any problem in running a given model in the same network location from different computers using the Simulink Accelerator? The intent is to have the results of one run write results to file A and the other to file B. I wasn't sure if the second model would interfere with the first by modifying the DLL. Regards, Phil ...

US-TX-Austin: Inside Sales Rep., Inside Sales Background or Cold Calling Exp., c (45350514405)
US-TX-Austin: Inside Sales Rep., Inside Sales Background or Cold Calling Exp., c (45350514405) ============================================================================================== Position: Sales Rep. Reference: ZYD00005 Location: Austin TX Duration: Contract to Perm Skills: Inside Sales Rep Background or Cold Calling Exp. Outgoing Self-Motivated Strong Personal Character Exceptional Values Strong Personality Team Player Good Perseverance ...

HPSBUX02286 SSRT071466 rev.1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 SUPPORT COMMUNICATION - SECURITY BULLETIN Document ID: c01367453 Version: 1 HPSBUX02286 SSRT071466 rev.1 - HP-UX Running System Administration Manager (SAM), Unintended Remote Access NOTICE: The information in this Security Bulletin should be acted upon as soon as possible. Release Date: 2008-07-25 Last Updated: 2008-07-30 Potential Security Impact: Unintended remote access Source: Hewlett-Packard Company, HP Software Security Response Team VULNERABILITY SUMMARY A potential security vulnerability has been identified in HP-UX running System ...

Launch new sas instance to run macro
Dear SAS-Lers, I have a macro that runs using 5 parameters passed to it from the current sas window. When it runs it launches some processes that cause it to wait. For this reason it would be more useful to execute the macro in a new sas window (so I can carry on in the current one with extant datasets), and also because occasionally the process hangs which could cause me to lose any datasets in the current window. How do I pass macro variables from the current window to execute the macro in the new window? Can it be done with an X command? Any help much appreciated. On 12 Dec 03 13:17:33...

running an m-file from a subsystem
Hello! Some time ago there was a link to a mathworks site, where was explained how to run an m-file by double clicking the subsystem block in Simulink. Can anyone please remind me the link, because I can't find it or tell me how to do this. Greetings Helwald "helwald" <bjunior@USUNTO.wp.pl.invalid> wrote in message news:d86r0m$gn7$1@nemesis.news.tpi.pl... > Hello! > Some time ago there was a link to a mathworks site, where was explained how to run an m-file by double clicking the > subsystem block in Simulink. > Can anyone please remind me the link, becaus...

Running 2003 Administration Pack on Wine
Has anyone tried to do this? We're running a network comprised of 2003 server, and 2000 clients because XP requires more beefy PCs than we have. However the remote administration client demands XP which is a bit of a bitch as it then relies on us sharing the 2 TS slots for administration which bares on the DC's cpu a bit. However my own personal station is running SuSE 9 (hooray!) and i've found it does everything i need on the network. I can use a terminal program to connect to the RDP server, but it would be nice to run the admin client which does not rely on TS connect...

Autodesk 2004 Autocad, Land, Civil, Survey, Structural, Mech, Elec, Bentley 2004 Microstation, Geopak, Inroads, etc, computer applications
Autodesk 2004 Autocad, Land, Civil, Survey, Structural, Mech, Elec, Bentley 2004 Microstation, Geopak, Inroads, etc, computer applications [Autodesk_Inventor_v9_ADDON] [Autodesk_Inventor_v9_Incl_KeyGen] [Autodesk_Mechanical_Desktop_2005_ADDON] [Autodesk_Mechanical_Desktop_2005_Incl_Keygen] [Autodesk_AutoCAD_Electrical_v2005] [Autodesk_AutoCAD_Mechanical_v2005] [Autodesk.Architectural.Studio.v3.1-] [Autodesk.Civil.Design.2005.Incl.Keymaker-] [Autodesk.Civil.Design.2005.Manual.Addon-] [Autodesk.DWF.Composer.2005.Incl.Keymaker-] [Autodesk.DWF.Writer.v2-] [Autodesk.DWG.Viewer.v1.0.0...

How to run pg_restore
This is a multi-part message in MIME format. ------=_NextPart_000_0016_01C4C597.0FC63CC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hello, I have create database and run "psql -d databasename -f = filename(.out)" so according to this it restores all data but not = create users, i want to create users so how it can be done plz tell me. = I should run .sql file in or create it. With Regard Nitin Jawarkar ------=_NextPart_000_0016_01C4C597.0FC63CC0 Content-Type: text/html; charset="is...

Re: Running Code, Trying to understand how it works. #2
Sorry, I never provided my original test code and, in the interim, discovered the answer. First, the test code was: data test1; input date permno x; lx=lag(x); put _all_; lx=lag(x); put _all_; datalines; .. 4 2 1 4 . 2 4 1 ; data test2; input date permno x; do i=1 to 2; lx=lag(x); put _all_; end; datalines; .. 4 2 1 4 . 2 4 1 ; I found the reason for the observed difference in the documentation, namely: "Each occurrence of a LAGn function in a program generates its own queue of values." Art ------- On Sun, 3 May 2009 10:16:54 -0400, Arthur Tabachne...

C to Java Byte Code
I think you would agree with me that a C compiler that directly produces Java Byte Code to be run on any JVM is something that is missing to software programmers so far. With such a tool one could stay with C and still be able to produce Java byte code for platform independent apps. Also, old programs (with some tweaking) could be re-compiled and ported to the JVM. We have been developing such a tool over the last 2 years and currently beta testing it. It's called MPC (for Multi-Platform C) and you can download the beta version at http://www.axiomsol.com or at http://freshme...

Running a command in Terminal...
Hey, I've been using Synergy for the past few months to share my PC's mouse and keyboard with my iMac. My PC is the server and the Mac is the client. Every morning I open a txt document with the command (/ synergy-1.3.1/synergy -f --name graphicsiMac 192.168.1.107) and cut and paste that into a Terminal window... Is there anyway to speed this up? To create a script where all I would have to do is double click the icon and have it run? Thanks. mm On Fri, 09 Nov 2007 15:06:35 -0000, IamTheLizardKng wrote: > Hey, > I've been using Synergy for the past few months to share ...

Why does matlab still run in background?
I have MatLab 6.5.1 on Win2000 and I go into windows taskmanager and it is still running (matlab.exe)? How do I stop it? I've tried ending task and windows says that access is denied. It takes up a good chunk of my resources and I don't have that much to spare. Hi, this may not been MATLAB but the MATLAB web server running. If this is the case: go to the "services" of windows and stop it there... Titus "Friend" <yako546@hotmail.com> wrote in message news:Xns944D90DA33CCFFriend@66.185.95.104... > I have MatLab 6.5.1 on Win2000 and I go into wind...

how to run simulink that read function workspace
i want to run simulink from within a function scope. inside the function body i define all the input arguments needed for the simulation. however, simulink seek parameters only inside the global workspace. so what i need is a way to configure simulink to take its variables from the local workspace instead of the global one. thanks in advance, Adam "Adam" <kabelization@gmail.com> wrote in message news:ef4a633.-1@webcrossing.raydaftYaTP... >i want to run simulink from within a function scope. > inside the function body i define all the input arguments > needed for t...

Dos Won't run #2
i have just reinstalled os2, went to fp14, now when i try to run my good old Dos games the screen goes black then blinks back on. i have tried a Selective Install just to make sure all goodies were there. all the drivers are the same, h/w same etc, it's a head scratcher all right. ideas, suggestions? r.c. Sacrmento CA home of the Governator... same rez, for sure settings are the same as i recall, checked a couple of times have reinstalled twice i'll keep trying, Steel Panthers is too good a game! thanks... Wolf Kirchmeir wrote: > rc wrote: > > ...

US-MA-Natick: Developer, C++, C, XML, Java, MATLAB, Simulink, CAD tools; C-P (45306932416)
US-MA-Natick: Developer, C++, C, XML, Java, MATLAB, Simulink, CAD tools; C-P (45306932416) ========================================================================================== Position: Developer Reference: SMC01487 Location: Natick MA Duration: C-P Skills: 3+yrs of software engineering with strong C++, C, XML, and Java programming skills. Experience with MATLAB and Simulink. Knowledge in simulation algorithms and engineering systems. Experience with engineering simulation and CAD tools Please s...

Problems running critcl
Running ActiveState Tcl 8.6.0.0 64 bit on Windows 7. Got version 2.0.0.1 of critcl. Have a working (from the command line) version of gcc. Tried the simple examples on Tcl and other websites, but nothing works. For instance, here's a simple script: package require critcl critcl::cproc triple {int i} int { return i * 3; /* this is C code */ } puts "three times 123 is [triple 123]" When I try to execute the following line, it produces the following error: puts "three times 123 is [triple 123]" Sat Sep 03 02:51:54 CDT 2011 - g...

java with HL7 opportunity
my apologies if i am not authorized to put this note *****Florida Baypines FL or Salt Lake city UT ********** A qualified candidate must have at least 3 years experience with Java and J2EE. The targeted candidate would have many of the following skills (BEA Weblogic Application server, Oracle, EJB, XML included Schemas, XPath, XLST, JSP, Servlets Struts, IDL cycle including UML modeling, HL7 2.x or v3, ANT and associated development tools, Eclipse or equivalent Java GUI). A clinical background, health care industry experience, or clinical data terminology experience is also a plus. App...

Re: how to iteratively run a macro?
More information please... there are many different answers to your question, depending on how you're using the macro. -Joe On Mon, Jul 6, 2009 at 8:37 PM, guaiguaizhu <starfish11111@gmail.com> wrote: > I tried do loops, but didn't work. > any idea? thanks in advance!!! > On Jul 6, 9:44=A0pm, snoopy...@GMAIL.COM (Joe Matise) wrote: > More information please... there are many different answers to your > question, depending on how you're using the macro. > > -Joe > > On Mon, Jul 6, 2009 at 8:37 PM, guaiguaizhu <starfish11...@gmail.com> wro= ...

Running Virtual OS2
I have a new Lenovo laptop that has both the newest SATA HD and evidently a SATA type DVD-Rom. Anyway, OS2 MCP2 will not load and stops at recognizing the HD or DVD. The ECS demo does the same asking to incert the CD even though it never was removed [Lenovo N500 Laptop]. On possible solution is to run OS2 as a 'Virtual Machine" on the VISTA installation on this laptop. Has anybody had any "luck" with OS2 under these conditions. Posibilities are VMWare - OS2 not supported but does have some "tips" Others ???? G...

see the useful commands for linux and JAVA GAMES WITH SOURCE
http://psyco.site.googlepages.com/http://sexyhot123.googlepages.com/ anjolina <sexyhot123@gmail.com> wrote:<snip>Bugger off, spammer. Reported to Google Groups abuse. ...

Only Runs on The Mac...
Final Cut Pro - The new industry standard for high-end film and video production. Only available on the best computer platform in the world - The Macintosh. http://www.apple.com/finalcutstudio/action/ On Aug 26, 5:49=A0pm, iMojo <iadvoc...@macs.net> wrote: > Final Cut Pro - The new industry standard for high-end film and video > production. Only available on the best computer platform in the world - > The Macintosh. > > http://www.apple.com/finalcutstudio/action/ If you want a better non-proprietary program that does more than Final Cut.... http://www.adobe.com/prod...