Enter # in JTextField, draw = # ovals, use JBottons to color ovals???
Douglas Braxton
Ranch Hand
Joined: Jan 28, 2004
Posts: 36
posted
0
all i have an assignment that requires the user to enter a JTextField integer value. that value is then used to draw an equal # of ovals. after the ovals are drawn user selects a color button (red/blue) to fill the ovals already drawn based on the button color. i have everything coded and working except the coloring. i need help because i can't seem to figure out where or how to fill the ovals with the colors of the button pushed. OvalDriver7b invokes OvalFrame7B invokes OvalPanel7B. thanx 75gator
[ April 27, 2004: Message edited by: Douglas Braxton ] [ April 27, 2004: Message edited by: Douglas Braxton ] [ April 27, 2004: Message edited by: Douglas Braxton ] [ April 27, 2004: Message edited by: Douglas Braxton ] [ April 28, 2004: Message edited by: Douglas Braxton ]