Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get window handle in Swing?  RSS feed

 
Andrzej Borucki
Ranch Hand
Posts: 88
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21047
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Andrzej Borucki
Ranch Hand
Posts: 88
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want create Scintilla component. Scintila for Java - Jintilla, uses SWT. For this is only SWT enabled?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!