I\'ve created a table, and setcursor on a particular column. The cursor is displayed properly for the first time when table is displayed, but if the table model changes and table is repainted, the cur
I try to port some Java code to Scala. I want to display a scala.swing.Applet in a GUI application. With Java Swing I would do
package puzzle; import java.awt.Color; import javax.swing.*; import java.util.*; public class Puzzle { Integer x = 50;
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 have class PrintUtilities, which has the following method to print JPanel and its sub components: public int print(Graphics g, PageFormat pageFormat, int pageIndex)
I am trying to make a game object that can be made semitransparent during the game\'s runtime. My semitransparency filter works fine when I apply it to my object\'s image before entering the game\'s
In our desktop application built on Swing we are going to implement dashboard functionality. I mean that we want something like iGoogle (or Jira dashboard). We want to be able to add widgets from some
I want to add multi line to my Jlabel; I do it with help of HTML, but in some situation I have problem with it, the situation is that I use special tag property like dir=\"RTL\" and ... . What should
I have a JFrame with four components: three JPanels and a JTabbedPane.Two panels have selectable components and are located approximately in BorderLayout.NORTH and EAST, while the JTabbedPane sits app