Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for wild card import of java classes ? #75

Closed
amiracam opened this issue Nov 12, 2013 · 1 comment
Closed

support for wild card import of java classes ? #75

amiracam opened this issue Nov 12, 2013 · 1 comment

Comments

@amiracam
Copy link

I want to effectively do this:

import javafx.scene.control.*

but that won't work with java_import

i.e. it would be nice to do:

java_import 'javafx.scene.control.*'

include_package or import does not seem to work

import 'javafx.scene.control'
or
include_package 'javafx.scene.control'

what I can do is import a specific class:

java_import 'javafx.scene.control.Tab'

I read that its not possible to ask Java for classes contained within a package, if so then I guess I must specifically load the classes I need manually ?

@byteit101
Copy link
Member

I read that its not possible to ask Java for classes contained within a package, if so then I guess I must specifically load the classes I need manually ?

Yes. Either way, this would be a bug on jruby, not jrubyfx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants