Forum: C++ 12 Days Ago |
| Replies: 2 Views: 194 |
Forum: Java May 22nd, 2009 |
| Replies: 0 Views: 594 Hi,
I have a JTable with a tablecellrenderer I have extended from the defaultTableCellrenderer.
In my Table model on which the table is based, I have an algorithm that searches each cell... |
Forum: OS X Apr 3rd, 2009 |
| Replies: 2 Views: 923 sorry solved this a long time ago. |
Forum: Java Apr 2nd, 2009 |
| Replies: 5 Views: 535 Oh, I also tried it in single quotes but with the same result. |
Forum: Java Apr 2nd, 2009 |
| Replies: 5 Views: 535 Hi,
I was haste in marking as solved.
The idea of enclosing the respective paths in double quotes works when doing directly into the terminal, but from a java program using the ... |
Forum: Java Apr 1st, 2009 |
| Replies: 5 Views: 535 |
Forum: Java Mar 31st, 2009 |
| Replies: 5 Views: 535 Hi.
I am writing a mac program that among other things, allows a user to create unix links to files. Now I am using the runtime.exec() method to run the ls -s command e.g.
ls -s dir1/fileName... |
Forum: Java Feb 5th, 2009 |
| Replies: 2 Views: 811 So I have used a JPanel and a JFrame and paint() the JFrame as well! This has worked.
Many thanks |
Forum: Java Feb 4th, 2009 |
| Replies: 2 Views: 811 Hi, I am sending a oval shaped ball across a screen and use the repaint() method controlled by a timer to move it.
public class Court extends JFrame implements Runnable
{
private int x = 10;... |
Forum: OS X Jan 7th, 2009 |
| Replies: 1 Views: 581 Hi, I am trying to create a symbolic link from one dir to another.
However, from the command terminal, I type the entire dir path e.g.
ln -s full/dir/path 2/filename full/dir/path/linkName
... |
Forum: C++ Dec 13th, 2008 |
| Replies: 1 Views: 368 Hi,
is there a place from where I can get or read up on the C ++ standard library for the mac? Something similar to Sun's java documentation.
I am looking for GUI libraries and others such as... |
Forum: C++ Dec 12th, 2008 |
| Replies: 4 Views: 1,269 Magic, thank you very much. |
Forum: C++ Dec 12th, 2008 |
| Replies: 4 Views: 1,269 Many thanks for your contribution. Please may you explain it. I would rather understand than simply copy and paste. Please if you do not mind.
Many thanks. |
Forum: C++ Dec 12th, 2008 |
| Replies: 4 Views: 1,269 Hi
is it possible to get the file creation date of files on the mac using c++? If so, may you assist me on how do I go about doing so?
Many thanks |
Forum: Java Dec 11th, 2008 |
| Replies: 2 Views: 375 |
Forum: Java Dec 11th, 2008 |
| Replies: 2 Views: 375 Hi
It is possible to execute terminal commands in java, but is it possible to then get the output or result of the terminal command as input into a java program?
If so, may someone tell me... |
Forum: OS X Dec 10th, 2008 |
| Replies: 2 Views: 923 Hi,
I would like to know if it is possible to link files to one another. If so how do I go about doing so or better may you point me to some reading material on how it can be done.
Many... |
Forum: Java Dec 9th, 2008 |
| Replies: 5 Views: 2,974 Many thanks for the replies.
I have tried this
String creationDate = NativeInterface.nativeFileCreationDate(file.getAbsolutePath()); return creationDate;
it then throws a :... |
Forum: Java Dec 9th, 2008 |
| Replies: 5 Views: 2,974 Hi is there a way of getting a file creation Date for a file class object?
I am trying to do so on a mac.
Many thanks |
Forum: Java Nov 28th, 2008 |
| Replies: 6 Views: 1,064 Results model class
class ResultsModel extends AbstractTableModel implements Comparator {
private List data;
private List plugins;
private List markedList;
... |
Forum: Java Nov 28th, 2008 |
| Replies: 6 Views: 1,064 Yes I shall do so when I get home. Also I have system.out.println(row); in the renderer class and the value of row ascends as normal by 1 but when it gets to 11 it then reverts back to 0, throwing... |
Forum: Java Nov 28th, 2008 |
| Replies: 6 Views: 1,064 Yes. The initial try catch handles this as there is no row the first time the table comes into existence. There after it works as normal until the last row that can be seen within the scrollpane... |
Forum: Java Nov 26th, 2008 |
| Replies: 6 Views: 1,064 Hi,
I am writting code for a Jtable. Now in this Jtable I list file files based on different attributes, including CRC Hash.
Now I have a table that has 6 columns. the data Model extends the... |
Forum: Java Nov 17th, 2008 |
| Replies: 2 Views: 525 Sorry, No information was given, it simply stopped. It did not throw an exception or anything at all. I have since rewritten the the code to make comparisons outside of the vector but I never got a... |
Forum: Java Oct 30th, 2008 |
| Replies: 4 Views: 3,058 Indeed, I am using the defaultTableModel. I will see how I may write my own so as to meet my objective. While it works, I am still not happy with it.
Many thanks for your help. |
Forum: Java Oct 30th, 2008 |
| Replies: 4 Views: 3,058 All the examples seemingly require that you get a value from a cell which is checked in the
getTableCellRendererComponent(JTable table, Object value,
boolean isSelected, boolean... |
Forum: Java Oct 29th, 2008 |
| Replies: 4 Views: 3,058 Hi
I have a program that finds duplicate files and lists them in a Jtable. I have modified the default Table Renderer to change the colour of the cells but I want them to have more than two... |
Forum: Java Oct 27th, 2008 |
| Replies: 7 Views: 586 Your comments are very much appreciated.
I thank you all. |
Forum: Java Oct 27th, 2008 |
| Replies: 7 Views: 586 The question was is it possible? I never once implied I intended to do so. Is it possible to add functionality, if so under waht circumstance and how.
From what I can deduce from the replies,... |
Forum: Java Oct 27th, 2008 |
| Replies: 7 Views: 586 The problem is, I am not the author of the original and as such have not clue as to what methods the classes have and in which class. |
Forum: Java Oct 27th, 2008 |
| Replies: 7 Views: 586 I have a .jar file; in this .jar file I have many .class files but no .java files for these class files. Is it possible to add functionality to the program? If so how? |
Forum: Java Oct 22nd, 2008 |
| Replies: 11 Views: 2,280 OK.
Say I have File1.txt with contents being "ABC".
Then I have File2.txt with contents being "ABC" different is the name only, yes. Both in dir A.
Then I have File1.txt in another dir say B... |
Forum: Java Oct 21st, 2008 |
| Replies: 11 Views: 2,280 What I am attempting to do is identify duplicate files. When I say duplicate I mean both 100% identical and those that are not necessarily 100% identical e.g. one file may have a different... |
Forum: Java Oct 21st, 2008 |
| Replies: 11 Views: 2,280 "computing and comparing the md5 checksum" This would mean that any change in the file no matter how small would change the md5 checksum. I do not think this would do. The comparison needs to be so... |
Forum: Java Oct 20th, 2008 |
| Replies: 11 Views: 2,280 Hi,
Is it possible to compare files by hash code? If so how do I do this. I am attempting to locate duplicates. Simply calling the file.sashCode() generates a hash code but if a duplicate file is... |
Forum: Java Oct 14th, 2008 |
| Replies: 1 Views: 2,151 Hi
I have a program that has a JTree that lists of all the directories on my computer. I also have a JList in and an add button. Now I am trying to select or highlight a directory in the JTree,... |
Forum: Java Oct 12th, 2008 |
| Replies: 2 Views: 525 Hi. I am attempting to update a Jtable with details of all the files on my computer. I am running Windows XP home edition version 2002 with service pack 3. Intel(R) pentium(R) 4 CPU 3.20 GHz
... |
Forum: Java Oct 8th, 2008 |
| Replies: 7 Views: 956 Many Thanks
It has worked |
Forum: Java Oct 7th, 2008 |
| Replies: 7 Views: 956 How about Simply calling the New File[vector.size()] to resize the array every time the vector size either increases or decreases? Is resizing an array in such a fashion bad practice or something... |
Forum: Java Oct 7th, 2008 |
| Replies: 7 Views: 956 Many thanks for your attempt but even that does not work. The compiler objects to not knowing the method. I have tried more File methods like getName, length() and lastModified() all of which cannot... |