graphics2d
Bufferedimage bitmask operations - apply a color to an image using another image as a mask
I have tw开发者_开发知识库o BufferedImage objects, src and dest.Both are grayscale, src is 1bpc (B&W basically), and dest could really be any sort of color space/bpc/etc.[详细]
2023-04-06 18:31 分类:问答Graphics contents get erased on maximized
I am developing a GUI painting application.But the problem is that the frame contents get erased on minimizing and then maximizing.I know what the problem is, it\'s that paint is called again after ma[详细]
2023-04-06 16:43 分类:问答Repainting in Swing JComponent after an interval
I have been assigned a project where I have to make an analog clock using the GregorianCalendar object in java.First, we were told to get the clock working, so that it shows the proper time on each ru[详细]
2023-04-06 07:04 分类:问答How to make an image blink in a random position?
I have an image inside the JApplet and I want it to appear in a random position.It will disappear after 1 second and appear again, in another random position.[详细]
2023-04-05 23:18 分类:问答Drawing text with outline in java
I\'m working with graphcis2d in Java and am currently using this to draw text into a bufferedImage Font font1 = new Font(\"Arial\", Font.PLAIN, 120);[详细]
2023-04-05 23:14 分类:问答Trying to add a dynamically positioned image in a JPanel on a button click
I am trying to add/draw a single Graphics object to an existing JPanel. I am generating 10 initial Graphics objects randomly sized and place in the panel, but would like to add additional drawn object[详细]
2023-04-05 20:14 分类:问答Java Graphics2D streaming?
Is there a way in java to use Graphics2D API to paint on screen of remote java process? Any API to stream and deserialize painting instructions?[详细]
2023-04-05 18:25 分类:问答Have a problem with my traffic light loop [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-04-05 16:22 分类:问答How to move the image inside the JApplet in vertical line?
I have displayed an image(ball) inside the JApplet, now I want the image to move in a vertical way (up and down).The problem is I don\'t know how to do it.[详细]
2023-04-05 03:09 分类:问答Java - Draw text in the center of an image
I need to write text in the center of an image. The text to write is not alwa开发者_运维百科ys the same.[详细]
2023-04-03 14:13 分类:问答