I have developed an editor using java Jpanel, component, etc....I have 2 text areas in the editor. When i choose open a file option from the menubar i\'m able to load the content of the file to one te
In my application I have some custom buttons which have custom text/icon layouts and some extra elements not normally associated with buttons. e.g. Some have 2 text labels instead of one.
I use JTable with horizontal and vertical scrollbars. My JTable has empty space after rows with data.
I have a JPanel on which I\'ve painted four rectangles.The color for each of these rectangles is selected at random.The colors should change only when the user clicks on a particular rectangle.
I was doing a demo on the ChessBoard Game.I guess you must know it.How ever I meet with a problem.The result just show to quickly.I want to see how it works out slowly.
Please excuse me if this is a very simple solution or stupid mistake - this is my first time attempting to implement graphics in Java! :)
I have a problem with java Xor method: public class Okno extends JFrame { public static void main(String[] args) {
I\'ve created JPanel and have already added components into it and I\'m going to pass开发者_JAVA百科 that JPanel to PopUpFactory... So can I get size of JPanel before passing it?
I have a series of components underneath each other in a JPanel set as a GridLayout. I need to temporarily hide the components but setVisible(false) doesn\'t cut it, because there is still an empty ga
When I add a MouseListener/FocusListener to a J开发者_开发知识库Panel which has a BorderLayout and JComponents in it, I can\'t catch mouse or focus events. Is there any way to catch a JPanel\'s mouse