Skip to content

oop-mc-saga/GUI2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drawing shapes in GUI

This project provides some examples of handling mouse events. Example applications are drawing some pre-defined shapes and curves.

Packages

fileChooser

This provides functions for saving images into files.

shapeSamples

An application for drawing some pre-defined shapes as an example of drawing shapes on JPanel.

  • DrawPanel.java: This provides a canvas for drawing shapes.
  • ShapeSampleMain.java: The main class with some menus.

simpleDrawer

  • DrawPanel.java: This provides a canvas for drawing shapes. This class listens mouse events and reacts to them.
  • SimpleDrawerMain.java: The main class with some menus.

utils

About

第13回「Graphical User Interface:描画する」

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages