¡@

Home 

java Programming Glossary: draw.setcolor

Cannot convert current canvas data into image in java

http://stackoverflow.com/questions/12984207/cannot-convert-current-canvas-data-into-image-in-java

draw Graphics2D g if this.is_beginning this.to_save draw.setColor Color.white draw.fillRect 0 0 this.getWidth this.getHeight this.is_beginning.. this.getHeight this.is_beginning false if this.m_alzada draw.setColor Color.red draw.drawLine uX uY x y And this is my method for.. last line segment in you paint method... if this.m_alzada draw.setColor Color. draw.drawLine uX uY x y This means when you try and save..

AWT custom rendering - capture smooth resizes and eliminate resize flicker

http://stackoverflow.com/questions/6824756/awt-custom-rendering-capture-smooth-resizes-and-eliminate-resize-flicker

w getWidth i.left i.right int h getHeight i.top i.bottom draw.setColor Color.YELLOW draw.fillRect i.left i.top h 2 w 2 h 2 draw.fillRect.. i.top h 2 w 2 h 2 draw.fillRect i.left w 2 i.top w 2 h 2 draw.setColor Color.BLACK draw.fillRect i.left i.top w 2 h 2 draw.fillRect.. double size.width 2 0.5 int h int double size.height 2 0.5 draw.setColor Color.YELLOW draw.fillRect 0 h w h draw.fillRect w 0 w h draw.setColor..