Search:
Type: Posts; User: newkid
Search:
Search took 0.03 seconds.
-
November 18th, 1999, 03:29 AM
help ! this print program print nothing . all source code included.
i am using jdk1.2.2 on win 95 pc.
if i use a smaller jtable. it will print the jframe. why ? how can i print a big jframe ?
...
-
November 17th, 1999, 06:12 AM
tfStartDate.setText("30/05/1998");
tfEndDate.setText("30/03/1999");
String stryear1 = tfStartDate.getText().substring(6,10) ;
String strmonth1 =...
-
November 16th, 1999, 10:26 PM
how do i validate a jtextfield which only allow dd/mm/yyyy in it.
the length must be 10 and any other format will cause an error to pop out.
any help is much appreciated.
thanks
...
-
November 16th, 1999, 07:36 AM
how can i stop a jtextfield from being resized ?
when the form is maximized, the jtextfield becomes so blotted and ugly...
yukk...
how can i prevent that while allowing the jframe to be...
-
November 15th, 1999, 11:32 PM
PLEASE HELP
===========
i am really lost on how to do this.
how do i update the table contents when the user select another date and click the button.
i need to update the table (default...
-
November 15th, 1999, 08:34 PM
i have no idea how to start doing that.
can you give me some code sampels ?
thanks a lot.
http://members.xoom.com/lookads
-
November 15th, 1999, 07:09 AM
how do i clear all the rows in a jtable so that i can put in new rows as a result of clicking on a button ?
http://members.xoom.com/lookads
-
November 15th, 1999, 06:35 AM
how can i print a jpanel with many components on it ?
components such as jlabel, jbutton and jtables ?
the various examples i found only shows how to print the contents of a jtable or a...
-
November 4th, 1999, 04:32 AM
String cols[][][] = new String[7][2][]; int colcount[] = new int[7];
int i=0;
while (rs.next()) {
cols[0][0][i] = rs.getString(1);
cols[0][1][i] = rs.getString(2);
colcount[0] +=...
-
November 2nd, 1999, 10:43 PM
can you give me a short example ?
how do i put html in my jlabel.
i thought jlabel only displays a single line of code ?
thanks
http://members.xoom.com/lookads
-
November 1st, 1999, 09:01 PM
can i make a jlabel that span multiple lines ?
it displays lines on top of other lines.
that's all.
thanks in advance.
http://members.xoom.com/lookads
-
October 29th, 1999, 03:38 AM
how to align the cell inside a jtable to left or right ?
is there an easy way where we do not need to extend the cellrenderer ?
http://members.xoom.com/lookads
-
October 28th, 1999, 06:07 AM
this is just an easy question :
how do i create a table with only columns and no rows and the table's height is its column height.
can i specify the table's column width ?
thanks
...
-
October 26th, 1999, 06:40 AM
how do i add the rows to the jtables.
using my method, it is not a good way to add it.
as i need to check j==0 , j==1 ...etc.
//import java.util.Vector;
import java.sql.*;
import OraDB;...
-
October 26th, 1999, 12:01 AM
import javax.swing.*;
import java.util.*;
public class TableEx{
public static void main( String[] str ){
JFrame frame = new JFrame();
Vector columnNames = new Vector();
...
-
October 25th, 1999, 10:30 PM
Yes. It works. I did not know that i have to download all the files you specified.
Previously, i only downloaded 1 file and tried to compile.
Now, it works.
Thanks a lot.
...
-
October 25th, 1999, 08:35 PM
tableLabels.addElement("Emp Code");
tableData.addElement("0181");
JTable table = new JTable (tableData, tableLabels );
C:\JavaClass>java demotable
Exception in thread "main"...
-
October 25th, 1999, 04:11 AM
below is my code.
how do i implement adding rows dynamically to the jtable using vector. ( i know it is vector.addElement something... But what is the actual code ? )
Thanks
import...
-
October 25th, 1999, 01:43 AM
the example is this, as below. it could not compile :-
http://www2.gol.com/users/tame/swing/examples/src/examples/GroupableHeaderExample.java
/* (swing1.1beta3)
*
*...
-
October 24th, 1999, 08:25 PM
cannot compile the source code at
http://www2.gol.com/users/tame/swing/examples/JTableExamples2.html
because it imports user defined classes.
so, how now ?
http://members.xoom.com/lookads
-
October 23rd, 1999, 01:27 AM
how does the whole file look like . well, i really need to get it fast and could not afford to read up on the java books.
really appreciated some java code. hopefully a working demo.
thanks a...
-
October 21st, 1999, 11:29 PM
how do i create a jtable header that takes up 2 lines ?
such as below ?
| Sex |
| M | F |
Thanks again
-
October 21st, 1999, 08:47 PM
yes. thanks for the code. but, i thought some of you really could come up with some code that can add and delete rows.
http://members.xoom.com/lookads
-
October 21st, 1999, 06:32 AM
Help. I am stuck.
I want to implement a JTable which can addrows to it.
From
http://java.sun.com/products/jfc/swingdoc-api-1.0.3/com/sun/java/swing/table/DefaultTableModel.html
only contain...
-
October 21st, 1999, 04:19 AM
i got one from for oracle called 816classes12.zip
jdbc driver category 4 - thin client .
you can download from http://members.xoom.com/goodfreead
http://members.xoom.com/lookads
|
Click Here to Expand Forum to Full Width
|