K Terr

Greenhorn
+ Follow
since Jun 20, 2006
Merit badge: grant badges
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by K Terr

Hi,

I have a SWT table that i add a list of files to. when i click on one of the files listed in the table it opens all files (there are 3 files) in separate Swing windows. However, i just want it to open the file that i double click on in the SWT table.

Can anyone please help me, i am really stuck

K Terr
16 years ago
its ok i got it to work

for anyone else stuck on this, use the following:



gets the lines starting with URL

K Terr
[ September 01, 2006: Message edited by: K Terr ]
16 years ago
Hi,

its ok i got it to work,

i used:


K Terr
16 years ago
Hi,

i am trying to read in a .csv file but i only want the lines that have URL or REDR in the first field. does anyone know the regular expression for this, i can't use [a-z] as the first few lines contain text that i want to ignore. i only want URL and REDR

thanks in advance for the help

K Terr
16 years ago
hi,

would you know how to split the line into tokens and store each part in its own separate variable:


can you please help me i am really stuck on this,

thanks for the help

K Terr
16 years ago
Hi,

I am serious trouble here, i am trying to store the content of the .csv file in a list and then place the list contents into an SWT table. the problem is when i print the contents of the .csv file to the command line it prints them out one by one, but when i try to add each line to the list and print the list everthing is on one line.

can anyone plese help i am really stuck, i have never done anything like this before.

Thanks in advance,

K Terr

Here is the code i am using. i dont know how many line will be in the .csv file hense why i used a list.

16 years ago
Hi,

I was wondering if you could help me. I have a .csv file printing to the screen. However i am trying to get the .csv file to go into a java table with the same headings and columns as in the file. The problem is i have no idea how to do this or where to even begin.

Can anyone please help me. Its for a project i'm doing.

Thanks,

K Terr.
16 years ago
Hi,

I was wondering if someone can help me. i have a shell that contains 2 groups. in the first group there is a search function and a submit button. when the user clicks submit button a second group appears which contains a table with the results. i am trying to get a tab in the second group that will contain this table rather than have it in the group. can anyone help me or know where there is code that does this. i've been at this for ages with no success. My code is too big to post but can email if needs be.

Thanks in advanced.

K
16 years ago
Hi Peter,

Do you know any good tutorials that i could use to get this to work?

thanks
k
16 years ago
Hi,

thanks for replying, i got it to print the size of the file. i still cant get it to print the date the file was created or accessed. i can't seem to find the methods. can you help me again

K
16 years ago
Hi,

I was wondering if someone could help me. I am trying to output a list of files and properties to the screen. I have a file browser popping up and when i select a directory and click ok it outputs the path and list of files in that directory. However, i also want to output the size, type and created time of each file in that directory. i have an array that holds all the files but i am having trouble doing this. can anyone please help me.

Thanks in advanced,

K

here is the code i am using:


[ August 01, 2006: Message edited by: K Terr ]
16 years ago
Hi,

Thanks for replying. yeah if they hit the X button in the top right hand corner then i want the application to close. if the hit the login button i want the next screen to appear. i think its because i put a listener on the shell but i dont know a way around this.

thanks again

k
16 years ago
Hi,

i was wondering if someone can help me. i'm new to swt, and i am trying to work with two listeners. I have a login screen that a user enters their username and password and then clicks login button. when they click login their is a SelectionListener that will envoke a login method. i also have a listener on the shell that if the user clicks the close (X) button then the entire application just exits. the problem i'm having is that when the user clicks login it is actually exiting the application when it shouldn't. i have added some code at the end. Any help would be greatly appreciated.

Thanks in advanced

k

16 years ago
Hi,

Would anyone know of any good tutorials for building a calendar in java swt. i'm really stuck.

thanks in advanced,

K Terr.
16 years ago