Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get window handle in Swing?

 
Andrzej Borucki
Ranch Hand
Posts: 83
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
Pie
Posts: 20667
65
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: 83
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