LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-29-2007, 06:55 PM   #1
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 464

Rep: Reputation: 37
a GUI of a peer to peer program in Java


Hi there
I would like to ask if anyone knows how can i make a window like those windows that are into peer to peer programs. They contain actually queues of downloading or uploading data with a progress bar.
I would really like if anyone could post an example or tutorial. I was also wondering if it was possible to do it as in a JTable.

Thanks
 
Old 09-30-2007, 12:29 PM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
You've got two options I figure, either get the code to one (Azureus is FOSS, no?) and try to understand it, or work on it from the basics:

Break down the interface you see into sections, see what's repeated, find your basic GUI elements. Paper or screenshots and an image editing program should do.
Then try and build each section out of the standard Java GUI widgets, or (re)code your own ones for more control/effects.
Then put them all back together and Ta-Da!

Don't forget the old Model-View-Controller pattern, just have the GUI display the data and trigger actions like Pause/Stop but not directly be responsible for it. Goes well with making a command-line only prototype first before you add the nice interface.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
accessing shared Internet Connection on a MS peer to peer LAN from PC running Linux inschris Linux - Networking 2 04-09-2006 02:40 PM
peer-to-peer( lime wire ) is not letting prozilla to download at satisfactory speed b0nd Linux - General 3 10-21-2005 01:36 PM
peer to peer iv installed sancho-0.9.4-44-linux-fox.tar.bz2 master Linux - Software 2 07-02-2005 04:50 AM
What might be the best Peer to Peer program for Linux? IIven Linux - Software 11 11-19-2003 11:17 PM
peer 2 peer program saiz66 Slackware 15 05-01-2003 11:00 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration