Skip to main content
Progzoo.net
Tutorials
Guides
Edit
Java
C#
C++
Perl
PHP
Python
Ruby
VB
Hide Sidebar
Show Sidebar
<Progzoo Sections>
ProgZoo
Tutorials
How to...
Assessments
Help
<Other>
To do list
Recent changes
Random page
Personal
Log in / create account
Views
Article
Discussion
View source
History
Toolbox
What links here
Related changes
Upload file
Special pages
Printable version
Fill Rectangles
From Progzoo
Graphics Methods
Drawing Rectangles
Drawing Lines
Drawing Text
Polygons
Smoothing
Using Fonts
Fill Rectangles
Draw Circle
Draw Arc
Transform
Bitmaps
A Filled Rectangle
.
static void drawFlag(Graphics2D g) { g.setColor(Color.blue); g.fillRect(10,10,70,50); }
[
Font
] [
Default
] [
Show
] [
Resize
] [
History
] [
Profile
]
test text