Skip to content

Swingtut #20

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

Merged
merged 40 commits into from
Oct 7, 2014
Merged

Swingtut #20

merged 40 commits into from
Oct 7, 2014

Conversation

jacobsallan
Copy link
Contributor

Nearly all of the changes recommended on review are included in this commit. The only exception: the recommendation that examples/src/main/scala/scala/swing/examples/tutorials/components/BorderDemo.scala use scala-swing constants instead of swing constants was not applicable. It may be possible to replace some more of the var declarations with val declarations, but I did not know how.

Allan Jacobs and others added 23 commits September 23, 2014 22:01
The subproject containing the examples (added in 8db44f3)
is not aggregated under the root project, and as such is not
part of `sbt compile`.

This commit adds the task `examples/compile` to the SBT command
line in the Travis CI build.
…ym/scala-swing into swingtut

Merge of a large number of tutorial examples.
…y the SwingWorker in IconDemoApp.scala. It is getting called now.
…x swing custom actions attatched to menu item peers.
…nu item peers or action peers. Use Swing.onEDT to place this computation on the Swing event dispatch thread. Fix the caret event handling.
…wing component in its own right. Change the source code and html for the TextSampleDemo so that it refers to scala.swing components instead of swing jcomponents.
… FileChooserDemo2 which is not scalified yet.
… more dot files that we do not want in git.
…e ActionDemo so that scala-swing events are used instead of an ActionListener.
@jacobsallan
Copy link
Contributor Author

The changes in this pull request can be merged easily using local git commands into my java7 branch if you decide that is easier.

andy1138 and others added 6 commits September 29, 2014 13:03
…t accessed MainFrame's peer. Used the right scala-swing code to do alignment, improving the appearance of some applications and also removing more accesses to various component peers. Added new tutorials for layouts.
andy1138 added a commit that referenced this pull request Oct 7, 2014
closing issue #3 for tutorials that currently work. (see issue for comments/chat)

As discussed in issue #3 all tutorial examples that currently don't have a scala-swing api will be submitted via its own pull request.
@andy1138 andy1138 merged commit 4c18e5f into scala:java7 Oct 7, 2014
@andy1138
Copy link
Contributor

andy1138 commented Oct 7, 2014

closing issue #3 for tutorials that currently work. (see issue for comments/chat)

As discussed in issue #3 all tutorial examples that currently don't have a scala-swing api will be submitted via its own pull request.

Sciss added a commit to Sciss/scala-swing that referenced this pull request Apr 28, 2018
- bump version to 2.0.4-SNAPSHOT (mima binary compat checks)
- add `Font` object, because having `scala.swing._` in scope means we
  cannot use static methods of `java.awt.Font` any longer.
- add some documentation to `Table`
- add another constructor with table-model to `Table`
- add a few missing methods to `Table` (`rowMargin`, `viewToModelRow`,
  `modelToViewRow`, `autoCreateRowSorter`, `updateSelectionOnSort`)
- fix `apply` and `update` to convert between row model and view
- add programmatic `sort` method.
- fixes scala#20, fixes scala#47, fixes scala#62
- add uitest to verify sorting and converting indices works correctly
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

Successfully merging this pull request may close these issues.

3 participants