Learn how to create a window with Seesaw.
- [Narrator] Now that we've completed…the logic of our program,…I'd like to build the user interface.…We'll start with the namespace for image-meta.ui…and I'll add a require expression.…First, I'll pull in the image-meta.backend…namespace that we just defined.…And I'll alias it as backend.…Next for the ui piece,…I need to import the seesaw toolkit.…And I'll use the namespace seesaw.core…and I'll alias it as ss for seesaw.…
And then I'll use another seesaw namespace…called seesaw.mig.…And I'll alias that as mig.…This leverages a library called mig layout…which helps us arrange our components nicely.…Next, I'll require seesaw.chooser…and I'll alias this as sc.…This is a file chooser widget…that allows you to pick a folder.…Now, I'll require clojure.java.io as io,…and clojure.string as str.…
Before leaving our namespace expression,…I'll add an expression with the keyword gen-class.…This is needed because we're in the namespace…that we intend to use as the entry point…for the application and Leiningen will hook into this…
Skill Level Intermediate
1. Problem 1: Exploring Lake Pend Oreille
2. Problem 2: Image Analysis
3. Problem 3: Eight Queens
4. Problem 4: Accessing Peripherals
5. Problem 5: Recursion and Directories
6. Problem 6: Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.