scala-swing icon indicating copy to clipboard operation
scala-swing copied to clipboard

Scala wrappers for Java's Swing API for desktop GUIs

Results 20 scala-swing issues
Sort by recently updated
recently updated
newest added

Swing auto-detects `JComponent`as the `message` parameter. For example Dialog.showMessage(message = new javax.swing.JLabel("Hello")) To use that feature, we currently have to say `.peer` Dialog.showMessage(message = new Label("Hello").peer) It would be good...

enhancement
help wanted

These should be shortcuts to `layoutManager.setHgap`, `getHgap` etc.

enhancement
help wanted

I'm not quite sure whether this is a bug or intended behavior: A Publisher automatically listens to itself, "for convenience". For a Component, this call to listenTo() calls Publisher's subscribe,...

help wanted
Needs confirmation

Should a `CONTRIBUTING.md` guide be added? What is the policy now that the project is "community maintained". Is there still a CLA that needs to be signed, etc.? And what...

documentation

@Sciss writes at https://github.com/scala/scala-swing/issues/76#issuecomment-385634543 : > Regarding the book examples, the best would probably be to simply drop them into test sources, so we would automatically detect if there is...

documentation

I miss the GroupPanel (Scala 2.8 RC1). So I have implemented a first simple version. It does not yet offer all features of GroupPanel, but you can write some gui...

enhancement

Suggested changes: * `Constraints` should be a member of the companion object rather than the class, as there's no reason to tie constraint construction to a particular panel instance. *...

enhancement
help wanted

Here is a simple implementation: ```scala import swing.{Component, LayoutContainer, Panel} import java.awt.CardLayout class CardPanel extends Panel with LayoutContainer { type Constraints = String def layoutManager = peer.getLayout.asInstanceOf[CardLayout] override lazy val...

enhancement
help wanted

There is a swing.Action with peer javax.swing.Action, but there is no TextAction with peer javax.swing.text.TextAction. From the API of javax.swing.text.TextAction ```scala * An Action implementation useful for key bindings that...

enhancement
help wanted

Frequently, the items in the combobox are dynamic and not known at the time of the ComboBox's instantiation.

enhancement