CPS 109 Lecture Notes - Lecture 7: Anti-Aliasing, Graphics Software, Ellipse

58 views8 pages

Document Summary

This and other issues inspired the creation of swing, which creates this consistent look and behavior in various systems. Swing has a lot of pre-set settings, but the one thing that has to be manually inserted is preferred size -> usually set in the constructor method. Coordinate system works from top left and downwards: units correspond to individual component pixels, shapes are defined with double preicision. Jfc = java foundation classes: features to build guis for java apps. Swing api contains 18 packages: most commonly used: javax. swing or javax. swing. event (not always) Swing tutorials are usually contained within a package, and it needs to be indicated at the start of a program: package start;

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents