Top "Paint" questions

The act of displaying a GUI component on a screen output device

C# Invalidate is not calling paint method

I have OnPaint method overrided to draw an Ellipse on the screen. protected override void OnPaint(PaintEventArgs e) { MessageBox.Show("…

c# .net winforms paint invalidation
Efficient Line Smoothing and/or Simplification

I am creating a painting application in Actionscript (although my question is not Actionscript related). The basic idea is to …

vector paint computational-geometry bezier vector-graphics
AppletViewer - "applet not initialized"

My code compiles and works just fine in both my browser and Eclipse, but for some reason the AppletViewer just …

java applet awt paint appletviewer
Re-paint on translucent frame/panel/component.

I'm trying to create a translucent window with Java on OSX and add a JLabel to it. This JLabel changes …

java swing macos awt paint
BeginUpdate() EndUpdate for a UserControl

I have written a UserControl that behaves like a ContainerControl, but is totally painted by WindowsForms (I inherit from UserControl) …

c# .net winforms user-controls paint
Dynamically generated line with glow effective

I want to draw line with glow effect like this The problem - i must generate this line in program …

android paint touch-event
Creating a Java Timer and a TimerTask?

I'm new to Java and I'm trying to set a simple timer, I'm familiar with set_interval, because of experience …

java swing applet paint timertask
Android Paint.setTypeface isn't working for italic

The Paint.setTypeface is not working for italic or I'm doing something the wrong way. I can create normal, bold, …

android paint typeface italic
Changing The Underlying Background Color Of A Swing Window

As discussed here, when resizing a Swing application in Vista (and Windows 7, which is what I'm using) you get a …

java windows swing jframe paint
Difference between paint() and paintcomponent()?

I have tried tutorials on this but I still don't quite understand it. Basically my question is which method is …

java swing paint paintcomponent