repaint
How to call repaint from another method in an applet?
I\'m writing a game (an applet) in java, and I have two threads running. One thread is running in the main class, and the other is a separate class drawing to a graphics variable in a class of public[详细]
2023-02-26 16:55 分类:问答Problem with calling repaint() and paintComponent() method, using mvc design pattern
I\'m creating a small game, you click buttons (up, down, left and right) to control a cat (represented by a rectangle) to chase a mouse (represented by another rectangle). Lame I know... anyway I\'m u[详细]
2023-02-26 02:53 分类:问答Repaint window when no users are logged in
Is it possible to repaint a window when there are no active users logged on to a windows machine using c sharp? And will that window be available to scr开发者_JAVA技巧een capture program? Or is it not[详细]
2023-02-26 00:09 分类:问答Drawing something in front of any other object/drawing
I am making a small game, and I need some more help with it. I want to make it so that if Player1 and Player2 finished, a white screen will pop up over the whole screen in front of any object or drawi[详细]
2023-02-23 12:25 分类:问答How to repaint a MDIChild form when the MDIChild itself contains containers such as TPanel with aligned := alClient and ParentBackground := False
Summarization: Please see Andreas\' knowledgeable comments! ===========开发者_运维百科===============================[详细]
2023-02-18 16:05 分类:问答How to debug needless repainting occurring within Swing
I\'m having some strange issues with repainting going on in a Swing app I\'m developing. I\'m finding that when I set the text of a certain component (it\'s just a status bar text label along the very[详细]
2023-02-17 20:50 分类:问答Java -- For an animation, how should a logic class notify a loosely coupled view to repaint
For an application that repaints frequently, how should the \'model\' notify the \'views\' that they need to repeatedly repaint one of their components. This:[详细]
2023-02-16 15:06 分类:问答A simple sliding blocks game (Game logic and the paint component method)
I\'m building a simple sliding blocks game. I use the repaint() method to draw blocks of a puzzle image and then I draw a null block with the help of a BufferedImage array (puzzle[empty_row][empty_col[详细]
2023-02-16 07:54 分类:问答Efficient way to present and frequently change images on android app?
I have several imageViews in a layout. Frequently, (5-10 sec) I want to have some of the images change (use another source).[详细]
2023-02-15 17:59 分类:问答JLabel over transparent painted Rectangle?
I set the background of a JWindow completely transparent. Then I painted a rounded Rectangle (RGB: 0,0,0,100) in开发者_JAVA百科 it\'s paint-Method and added a JLabel to the JWindows ContentPane. But w[详细]
2023-02-15 06:49 分类:问答