question about applets and browser image cache0213 (3/14/2007 8:12:27 PM) comp.lang.java.gui Sorry for asking an applet question :-) In some code I am looking at, if an applet wants to get an image from the server, it does: new ImageIcon(Toolkit.getDefaultToolkit().createImage(imageUrl)) In an HTM... mitch
painting transparent icon background2472 (10/5/2006 9:25:27 PM) comp.lang.java.gui I have an ImageIcon that came from a transparent gif. Is there a way to control how the background color is painted, for example setting the background to red or white? Thanks. ... mitch
JComboBox TableCellEditor - getting 1 click to work1131 (8/14/2006 4:05:45 PM) comp.lang.java.gui I have a JComboBox as a TableCellEditor in a JTable. It's mostly working fine. I have a requirement to make it so the user clicks the cell once and the combo box drops down. Right now the user has to click twic... mitch
problem with mouse-over button inside JTable0250 (7/20/2006 7:10:46 PM) comp.lang.java.gui I want to style JButtons in my app so that when the user mouses-over a button it changes its look. It works fine with a button that is stand-alone but not when the button is inside a JTable as a TableCellRende... mitch
more on font size in pixels457 (7/6/2006 2:32:13 PM) comp.lang.java.gui It seems like if you create a Font new Font("Arial", Font.PLAIN, 11); in Java, and in HTML/CSS you specify two font sizes: ..Apx11 { font: 11px Arial; } ..Apt11 { font: 11pt Arial; } (The first one... mitch
JTable font focus problem0134 (7/6/2006 1:13:57 PM) comp.lang.java.gui I'm seeing a funny problem. I have a JTable and the first time it displays the font is sort of fuzzy. Looking at it in a program that magnifies the screen, I can see that the fonts are dithered which makes th... mitch
font size in pixels?3190 (6/27/2006 7:24:38 PM) comp.lang.java.gui Suppose you want to use a font that's 12 pixels (not 12 points) Arial. How would you do it? It seems like the answer has something to do with FontRenderContext and AffineTransform but does anybody have code t... mitch
setting Swing l&f to use a gradient1140 (6/27/2006 1:25:02 PM) comp.lang.java.gui I tried UIManager.put("MenuBar.gradient", MENUBAR_BG_GRADIENT); where MENUBAR_BG_GRADIENT is a java.awt.GradientPaint object. At runtime there is a ClassCastException: Exception in thread "AWT-EventQueue-0" ... mitch
problem making <select> invisible2105 (6/24/2006 9:38:15 PM) comp.lang.javascript I have a that's inside a and I want to dynamically show and hide the select. If elem is set to the and I do either of these: elem.style.visibility = "hidden"; elem.style.display = "none"; it works... mitch