LinuxQuestions.org
Review your favorite Linux distribution.
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 11-02-2009, 07:11 PM   #1
jmd9qs
Member
 
Registered: Apr 2009
Posts: 36

Rep: Reputation: 16
Question help with designing Java program:file browser w/ regex search, possibly media player?


Hi all!

I new to Java, and OOP in general; however, I do have a little background in Bash, Perl, and Python. I would like some help designing a program in Java (and if Java isn't the best-suited way to go about this, I'd like opinions on what would be).

Here's my problem:

--- I have a linux box at home I have configured to be a "file-server" of sorts: it exports a directory (/share) to all of the machines on my LAN (192.168.0.0/255.255.255.255); /share contains my 20+ GB music library, all my PDF's, and several seasons of different shows. I am using NFS to do this, and I have all the other machines set up so that my share (192.168.0.11:/share) is mounted at boot time to a "Public" directory on every linux computer in the house. This is all well and good, but the fact is I'm the only person in my family who knows anything about the Bash shell (and linux in particular ), so it's hard for everyone else to find what they want in this "Public" folder because (especially with the Music directory) everything is so "nested" it's hard to traverse. Also, the file managers I'm using (Dolphin and Nautilus), are OK but I don't really like how their "search" features are set up.

Here's what I want to do:

--- I want to create a GUI application (Java or otherwise) that users can click on from their desktop. This application, when launched, will show all of the contents of the "Public" folder (and that folder ONLY). I would like it to have some sort of regex searching that *visually* displays/eliminates matching files/folders *as you type!*. I would also like the program to be able to play media files (mp3, mp4, avi, wav, etc.) without calling external programs, but that may be more than I can handle right now . However, if I can't do that, it does need to be able to launch the desktop's (Gnome/KDE) default program for playing media.

Some things to consider:

--- All of the "Public" folders' permissions should be untouched during and after the running of the program

--- I'd *like* to write this in Java, as I'm taking a CS course that uses it

--- I'd *love* to be able to perform regex searches with visual *feedback*

I'm not, of course, asking anyone to write this for me! I'd just like some help figuring out how to design a *semi* large-scale application like this, as I've never done anything this big w/ Java and GUI.

Any help here, folks?

Josh Murray
 
  


Reply

Tags
browser, file, gui, java, regex, search


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
LXer: SongBird - free iTunes like Media player and web browser LXer Syndicated Linux News 0 09-13-2008 11:30 AM
java media player/editor xhi Linux - Software 3 12-15-2006 09:37 AM
Java read binary file in as string for RegEx mulciber Programming 1 12-18-2005 01:36 PM
embedded browser media player for linux tzouse Linux - Software 9 08-08-2005 09:13 PM
grep (possibly regex) question. mwtheobald Linux - Newbie 1 08-17-2002 04:05 PM


All times are GMT -5. The time now is 09:07 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration