aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How to get window handle in Swing? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to get window handle in Swing?" Watch "How to get window handle in Swing?" New topic
Author

How to get window handle in Swing?

Andrzej Borucki
Ranch Hand

Joined: Aug 24, 2013
Posts: 50
I want write JNI dll where will called CreateWindow with parent
Probably Swing controls don't have any handles, but JFrame must have.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19781
    
  20

Not publicly available. However, for what you want to do you probably don't to use any JNI code. You can just use a JDialog, that should give you the same functionality.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Andrzej Borucki
Ranch Hand

Joined: Aug 24, 2013
Posts: 50
I want create Scintilla component. Scintila for Java - Jintilla, uses SWT. For this is only SWT enabled?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get window handle in Swing?