Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 09-29-2007, 07:55 PM   #1
Registered: Nov 2006
Distribution: xubuntu
Posts: 444

Rep: Reputation: 31
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.

Old 09-30-2007, 01:29 PM   #2
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:40 PM
peer-to-peer( lime wire ) is not letting prozilla to download at satisfactory speed b0nd Linux - General 3 10-21-2005 02:36 PM
peer to peer iv installed sancho-0.9.4-44-linux-fox.tar.bz2 master Linux - Software 2 07-02-2005 05:50 AM
What might be the best Peer to Peer program for Linux? IIven Linux - Software 11 11-20-2003 12:17 AM
peer 2 peer program saiz66 Slackware 15 05-02-2003 12:00 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:49 AM.

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