Giter VIP home page Giter VIP logo

java-paint's People

Contributors

brick7face avatar spencercornish avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

java-paint's Issues

Menu Bar

  • A menu bar with a File, View, and About pulldown menus. File should have a save and exit, save not active, exit working. Nothing under View, and Help should have a "About" choice that pops up a window with your company logo, you can use a JDialog Window to pop up the logo. This is example is on yesterday's lecture link.

Shape Issues

  • Empty Rectangles become solid in any negative quadrant
  • Ovals scale out weird

Add dialog for more granular customization

This Dialog should have functions such as:

  • Border Width
  • Brush thickness for freedraw
  • Eraser thickness (basically the same as brush thickness)

We could also do something that looks like this?
gngww

Next Part

Do For next Lab:

Due: Tuesday February 23rd (two weeks)......BUT note that next Tuesday you will be given another outlab on linked lists that is a very tricky lab. Both labs will be due Feb. 23rd. but next week's lab will take up most of next week so you will need to do most of the work for this lab THIS WEEK.

To Do:

  • Everything from the first requirements, inlab last week.
  • A way to change the color you are drawing with, sliders or JColorChooser and a swatch to show the color.
  • Use the ImageBuffer class that fixes repainting, backgrounds, easy clearing, etc. etc.
  • Get the graphics for drawing on your buttons and draw the shapes on the buttons instead of words.
  • [x ] setActionCommands so you can tell what buttons are being clicked. This example I will show on next lecture.
  • Space your buttons so they look centered and nice for the user (also on the next lecture, button graphic example).

Assignment 1

The first lab submission (9th) should have the following buttons all working, drawing and doing what they are expected to do:

The buttons should be for the following:

  • Clear
  • Filled rectangle
  • Filled oval
  • Empty rectangle
  • Empty oval
  • Line Drawing

On February 9th you should upload the code before 6pm, and then come to lab class and show your TA a live demo of your application.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.