• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get window handle in Swing?

 
Andrzej Borucki
Ranch Hand
Posts: 86
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: 20819
68
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: 86
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?
 
Paper has not yet been outlawed – so let your Java Swing application print with wild abandon: JPDF
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!