In this Java AWT Tutorial, we will create Menus and Menu Items. Then we will hook those to the Menu bar. We will display the menu bar with these menu items in an AWT Frame Window. Moreover, we will handle the menu item click events.
In this AWT Tutorial, we will perform rubber banding of Line and Rectangle drawing while dragging the mouse. We will also see setXORMode() and its usage while performing the rubber banding.
In this Java AWT Drawing Tutorial, we will do Free Hand Drawing using Mouse Drag. Here, you will learn the need for calling the Paint() method directly in-place of repaint() call.
In this Java AWT Drawing Tutorial, we will see how to draw rectangle using Mouse Press and Mouse Release. We will also see the challenges one will face when drawing the rectangle using mouse and drawRect Graphics API.
In this video, we will continue AWT Drawing to draw line with mouse press and release. Here, you will learn the role of AWT paint method and how we use Graphics object to draw a line.