Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > Pro Java
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Pro Java Expert level Java questions not about a specific book. Please indicate your version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro Java section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 8th, 2006, 11:33 AM
Authorized User
Join Date: Jan 2005
Location: , , .
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default Opening a file


I was wondering if someone could help me. i have some code that outputs a list of files in a directory to an SWT table. the problem i am having is that i would like to be able to open any one of the files in the list in a separate little window. i have it working using JTextPane in swing but i dont know how to get it to work in SWT. Can anyone please help me. i'm really stuck on this.

Thanks in advanced,

Reply With Quote
  #2 (permalink)  
Old August 10th, 2006, 02:30 PM
Authorized User
Join Date: Jan 2005
Location: , , .
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts

i got it to work in SWT, the problem i am having now is that i dont know how to do a listener on table items. i have it working on the whole table the problem is when i go to select a file to open it opens every file in the table and not just the one i selected.

can anyone please help me?

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening file 80240210 Flash (all versions) 0 July 24th, 2007 06:08 PM
Opening Excel file p2pMember ASP.NET 1.0 and 1.1 Professional 1 January 21st, 2006 01:54 PM
file opening jain_mj Visual C++ 0 November 4th, 2005 10:42 AM
file opening silver_cuts Classic ASP Basics 3 June 29th, 2004 01:57 AM

All times are GMT -4. The time now is 09:58 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.