We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Swing auto-detects JComponentas the message parameter. For example
JComponent
message
Dialog.showMessage(message = new javax.swing.JLabel("Hello"))
To use that feature, we currently have to say .peer
.peer
Dialog.showMessage(message = new Label("Hello").peer)
It would be good if scala-swing automatically detected a scala.swing.UIElement and unwrap it here.
scala.swing.UIElement
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Swing auto-detects
JComponent
as themessage
parameter. For exampleTo use that feature, we currently have to say
.peer
It would be good if scala-swing automatically detected a
scala.swing.UIElement
and unwrap it here.The text was updated successfully, but these errors were encountered: