Advertisement
Nickname
satanduvel
Registered since:
April 18, 2007
Short bio:
 
Home page:
 
Total posts:
4

Forum posts by Thomas Sels:

1 page [ 1 ]
Posted in Java Answers Forum, Apr 20, 2007, 1:50 PM
Nobody that can help me?If you can pls help me i have to do this project 4 school and the deadline is comming closer.Satanduvel
Posted in Java Answers Forum, Apr 19, 2007, 12:19 PM
I have found the solution here is the code:class FileTableModel extends AbstractTableModel { protected File dir; protected String[] filenames; protected String[] columnNames = new String[] { "","name", "size", "last modified", "directory?", "readable?", "writable?" }; protected Class[] columnClasses = new Class[] { Icon.class,String.class,...
Posted in Java Answers Forum, Apr 19, 2007, 8:50 AM
Hey i have a "problem" with mine FileTableModel. I get al the values in my JTable but there isn't a ".." directory in the JTable. So i want to create a row with the option to go 1 directory up. How do i do that?dir = new File("C:\\java"); FileTableModel model = new FileTableModel(dir); TableSorter sorter1 = new TableSorter(model); table = new...
Posted in Java Answers Forum, Apr 18, 2007, 3:24 PM
Hello i'm making an applet that has 2 JTables en when you select a file in a JTable you can upload the file. If i select 1 file i can upload it but when i'm selecting 2 or more i get the error org.apache.commons.net.MalformedServerReplyException: Truncated server reply .Here is my codeSo when i click the button threadUpload will be called:else...
1 page [ 1 ]
Advertisement