Screen « Graphics « Java Swing Q&A





1. Painting to screen a parameter object's location    stackoverflow.com

We are trying to paint circle objects on different x-y coordinate locations on a background image of a world map. We have a class called Territory which takes in two ...

3. Repainting Screen    coderanch.com

There seems to be a couple of threads already out there on this topic, but I haven't found a resolution that works for me. I currently have a JFrame that has a BorderLayout Layout Manager. In the center area, I add a JSplitPane called mainArea. Finally, I add a navigationPane in the left area of the mainArea. I have a view ...

4. Painting Not on the Screen    coderanch.com

I've created a Swing-based application that I am trying to create documentation for. As such, I am trying to get screen shots of all of the screens that I have. What I'm looking for is a way to provide a list of screen classes to a utility which will open the screens and paint everything to a file (This way I ...

5. screen repaint - newbie problem    coderanch.com

I trying to write an image viewer. I have my left and right buttons working but when I want to let the user press the show button to cycle through images, the screen doesn't refresh at the right time. I was hoping someone could tell me a simple fix or if my whole approach is wrong. I get a list of ...