jpanel
Java - Screen Size on a Mac
I have a Java application, and in order to find the size of the screen to use, I do the following, for example:[详细]
2023-03-29 01:01 分类:问答Java Loading/Progress Bar
I have a JPanel, and I\'d like to add a Progress Bar to it. I\'ve never used Progress Bar before, and I\'ve searched around the web and found some links, but still haven\'t gotten what I wanted.开发者[详细]
2023-03-28 20:21 分类:问答Why does my JFrame stay empty, if I subclass JPanel and JFrame?
I\'m trying to write custom JFrame and JPanel for my Java application. Currently, I just want to have a JPanel with a start button in the very middle of the screen. So, here\'s the code I have:[详细]
2023-03-28 12:33 分类:问答How to lock JSplitPane divider when swapping components?
I have a simple extended JSplitPane that I set different panels to at different times when they are needed. Specifically, I split it into an upper and lower section, and I swap out the bottom section[详细]
2023-03-28 04:20 分类:问答Sending messages between two JPanel objects
I have a Java JFrame containing a JPanel. Within that JPanel, there are two separate JPanels. When the user clicks a button in the first JPanel, a message needs to be sent to the other JPanel notifyin[详细]
2023-03-28 03:27 分类:问答Java transparent panels & custom effect on panels
I want to have transparent panels in my GUI (if like Windows 7 window headers, it is better). Before I have used com.sun.awt.AWTUtilities as[详细]
2023-03-27 04:33 分类:问答trouble executing actionlistener in swing applet embedded in html
Following is the applet code below: import javax.swing.*; import java.awt.*; import java.applet.Applet; import java.awt.Graphics;[详细]
2023-03-26 03:54 分类:问答jscrollpane has trailing image
I have a JPanel inside the JScrollPane and it does that whenever I try to scroll. Please help! 开发者_如何学PythonHow do I fix this?[详细]
2023-03-25 22:12 分类:问答Refreshing picture in drawingPanel extends JPanel 2
i apologise for having posted a thread quite similar to this one. but still i am having some problems. thread can be seen here[详细]
2023-03-25 21:28 分类:问答Refreshing picture in drawingPanel extends JPanel
I have to load a small icon on the botton of my software. just to have a loading/ok/error icon. as sudgested on \"http://www.particle.kth.se/~lindsey/JavaCourse/Book/Part1/Java/Chapter06/images.html\"[详细]
2023-03-25 12:53 分类:问答