| Thread | Last Post | Replies |
|
| filesave as class, where is it | 07 Mar 2004 16:16 GMT | 2 |
I am new to java. Where can I find the 'File Save AS' class. regards Johan
|
| Swing Survival Guide (what Swing needs to survive) | 07 Mar 2004 10:16 GMT | 7 |
You might be interested in this article at SoftwareReality.com: http://www.softwarereality.com/soapbox/swing.jsp Swing, although it has its moments of greatness, has always been just barely good enough for the job; but it's capable of so much more.
|
| JTextPane auto-scrolling randomly failing. | 06 Mar 2004 16:52 GMT | 2 |
In an applet, I have a JTextPane with a StyledDocument in it as a viewport for a JScrollPane. This is a conversation chat window, so I want that, whenever a new message arrives, the vertical scroll gets automatically to the end of the document.
|
| Bullet list in StyledDocument (JTextPane) | 06 Mar 2004 05:16 GMT | 1 |
I would like to implement a bullet list in my JTextPane. I need to use a DefaultStyledDocument for this, so a HTML won't do. I'm amazed that this is something that needs to be done from scratch(?). The way I was thinking of doing it:
|
| java.awt.Point | 05 Mar 2004 21:33 GMT | 1 |
import java.awt.Point; public class Program { public static void main(String[] args) {
|
| jframe/jpanel/jscrollpane/jtabbedpane resize problem [compilable example included] | 05 Mar 2004 19:27 GMT | 3 |
i place a jtree inside a jscrollpane inside a jtabbed pane inside a jpanel inside a jframe (content pane), and display the jframe. this works fine. when i resize the jframe into a bigger size, the tabbed pane remains its original packed size, it does not extend to the
|
| [Swing] JSplitPanes | 05 Mar 2004 10:22 GMT | 3 |
I'd like to implement a GUI with multiple SplitPanes, like this ---------- | | | | | |--| |
|
| calculate the area of an java.awt.geom.Area? | 05 Mar 2004 08:53 GMT | 3 |
I have a java.awt.geom.Area, created from the combination of some polygons (by adding them), and I would like to calculate the area of my new object. The Area class does not include such a method. (and neither did the Polygon class). Any tips on how I could do it?
|
| line number in JTable | 05 Mar 2004 08:11 GMT | 3 |
does anybody know how to add a row number on each line of a JTable object (like in a spreadsheet)? Thanks Toralf
|
| combobox change selection | 04 Mar 2004 22:53 GMT | 1 |
i have one JComboBox private JComboBox cbClientes = new JComboBox(); and i fill it with: for(int i=0;i<25;i++){
|
| sql prepared statements | 04 Mar 2004 22:40 GMT | 2 |
Hi there, having problems getting things to work properly. The idea is i wanted to use this kind of thing: Statement stmt = con.createStatement(); stmt.executeUpdate("INSERT INTO personnel " + "VALUES (PayrollNumber,
|
| Updating jTextArea during calculation | 04 Mar 2004 22:22 GMT | 2 |
I'm new to java application programming. I made a window with the swing components having a textbox on it. When I click a button the program starts calculating a checksum but during that calculation I want it to show what file it is checking.
|
| TableCellEditor - changing value mid-edit? | 04 Mar 2004 13:11 GMT | 5 |
I have a JTable, whose cells are large custom JPanel subclasses containing various JTextFields, JButtons and a JSpinner. The JPanel subclass implements both TableCellRenderer and TableCellEditor (actual code far too long to post here - will post snippets if anyone narrows this down) ...
|
| JTextPane how to get position of embedded component | 04 Mar 2004 11:03 GMT | 3 |
Please help me. I add object of JLabel as component to the JTextPane, then I need to take text and component infor in save into my own file format. But I can't get position of the component in the text. What can I do? Here is code: p = new JTextPane(); JLabel label = new JLabel();
|
| Flush Graphics on JPanel | 04 Mar 2004 10:46 GMT | 1 |
I'm trying to draw a Mandelbrot fractal on a JPanel. Of course this takes a while, so I wanted to do this incrementally: first use 16x16 pixel blocks, and then refine the picture. I've done this in a loop as follows:
|