Results 1 to 15 of 15
  1. #1
    Saleme is offline Member
    Join Date
    Dec 2013
    Posts
    4
    Rep Power
    0

    Default Help to make a new Java software.

    Hello :)

    I'm fairly new to Java, and I want to create a monitoring program for network.
    I plan to use nmap (nmap.org) to collect data and export it to an XML file. I'll make a script that runs this process once per minute as a service that runs in the background and updates the xml file. I need then to create a program that lists data in a graphical way.

    I have a clear picture about how I want it (1280 x 720 scene with symbol and DNS names of computers that are red or green, depending on whether the computeris off or on).
    Font size of 5, and symbol of 10-12px (about 5 x 2= 10,or approx. 4 x 3= 12). Hope it makes some sort of sense.

    I have no idea how to start to create the software. I don't know what I need (applet? Jframe? I really have no idea...)

    Is there anyone who can help with this project?

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,358
    Rep Power
    6

    Default Re: Help to make a new Java software.

    Please don't think about using applets, those were already a bad idea 10 years ago.

    That aside, you TECHNICALLY need what you FUNCTIONALLY need. Forget technology for now, what is required? How and where must the application be accessed? By how many users? Is security involved? On what kind of computers must it run?

    The way of the world nowadays is to do stuff on the web and ALSO in apps for mobile phones and make it available wherever you are. If that is going to be the way this application has to be, expect months of study to be required if you have to do it.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    Saleme is offline Member
    Join Date
    Dec 2013
    Posts
    4
    Rep Power
    0

    Default Re: Help to make a new Java software.

    Thanks for the reply :)

    The program are going to run on one computer connected to a big screen. There are little security issues involved (no password required) other than the Windows Firewall. Since it's only going to run on one screen, It's not required to have multiple users either. The software are ment to run on a powerfull AiO PC.

    There are no need for an app, and no need to connect to it from the outside of the network.

    Hope I don't have to use months on it... I just need the basic funtionality to make the output of nmap turned into a graphical interface.

  4. #4
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    4,029
    Rep Power
    6

    Default Re: Help to make a new Java software.

    Quote Originally Posted by gimbal2 View Post
    Please don't think about using applets, those were already a bad idea 10 years ago.
    Is this a general philosophy or just for this particular requirement? I can't envision sending mouse movements back and forth to a server based application, updating images, etc, etc.

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  5. #5
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,358
    Rep Power
    6

    Default Re: Help to make a new Java software.

    Quote Originally Posted by jim829 View Post
    Is this a general philosophy or just for this particular requirement? I can't envision sending mouse movements back and forth to a server based application, updating images, etc, etc.

    Regards,
    Jim
    I don't see what a server has to do with it?
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  6. #6
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    4,029
    Rep Power
    6

    Default Re: Help to make a new Java software.

    Perhaps a bad assumption on my part (from my old X11 days). If I want to develop a website where the user interactively learns various concepts in physics, mathematics, etc I would presume that I would need to use applets. If not, how would I do it?

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  7. #7
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,358
    Rep Power
    6

    Default Re: Help to make a new Java software.

    Now you're just hijacking the thread, what you want has nothing to do with what the OP wants :p Nothing interactive about it in any case, only graphical data representation.

    In any case making a site "interactive" (which is quite vague a description, that can also only mean clicking things) is always a challenge and would normally be dealt with by employing Flash; nowadays since even Flash has become outlawed, people will likely flock to using the new HTML 5 canvas.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  8. #8
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    4,029
    Rep Power
    6

    Default Re: Help to make a new Java software.

    Wow! My sincere apologies to you and the OP. I was certainly not intending to hijack the thread. I was just responding to a blanket statement you made and trying to understand. I'll simply withdraw from this discussion.

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  9. #9
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,358
    Rep Power
    6

    Default Re: Help to make a new Java software.

    I did not mean to accuse you of anything or scare you out of the thread :( Come baaaaaaaaaaack!

    Besides, your question plus any answers to it might just be beneficial to the OP in the context of this thread, who knows.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  10. #10
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    4,029
    Rep Power
    6

    Default Re: Help to make a new Java software.

    Ok. I'm back! :) Although I believe that applets are useful in certain contexts, this is not one of them. There are several approaches the OP could take. One would be to have everything on the server and use a browser to simply query various aspects of what is happening in the network (outages, bandwidth utilization, etc). If this is to be used by others then I would suggest discussing the requirements with the users of the service and also look at other commercial products to see what they do (which I believe you alluded to in your first reply).

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  11. #11
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,358
    Rep Power
    6

    Default Re: Help to make a new Java software.

    Quote Originally Posted by jim829 View Post
    and also look at other commercial products to see what they do (which I believe you alluded to in your first reply).
    Correct, but when people go to a programming forum to ask how to do stuff I assume they want to make something themselves in stead of pulling existing commercial solutions off of the shelf ;) Unless you meant it in the way that you get inspiration from them for your own creations, in which case I agree and it is my turn to apologize.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  12. #12
    Saleme is offline Member
    Join Date
    Dec 2013
    Posts
    4
    Rep Power
    0

    Default Re: Help to make a new Java software.

    I'm not going to use a server. I want to use one PC and have one program running, showing red and/or green dots :) I don't want to use a web page to do this. The service I'm talking about is the nmap service. I know how to solve data collection issue, but what I need help with is to program the graphical user interface to read the data from the file. I want to use java for this with a scene (jframe?) of 1280 x 720 in size (Projector resolution limit). I don't know how to set up the program, but I have a general Idea how to get there... I see myself as fairly technical, but I'm not the programmer type, unfortunatly. But I want to learn :)

  13. #13
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    4,029
    Rep Power
    6

    Default Re: Help to make a new Java software.

    Yeah. I meant just look at the feature set for ideas the OP might want to include.

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  14. #14
    Saleme is offline Member
    Join Date
    Dec 2013
    Posts
    4
    Rep Power
    0

    Default Re: Help to make a new Java software.

    Maby this post got lost in the discussion, so I'll repost it just in case:

    Quote Originally Posted by Saleme View Post
    I'm not going to use a server. I want to use one PC and have one program running, showing red and/or green dots :) I don't want to use a web page to do this. The service I'm talking about is the nmap service. I know how to solve data collection issue, but what I need help with is to program the graphical user interface to read the data from the file. I want to use java for this with a scene (jframe?) of 1280 x 720 in size (Projector resolution limit). I don't know how to set up the program, but I have a general Idea how to get there... I see myself as fairly technical, but I'm not the programmer type, unfortunatly. But I want to learn :)

  15. #15
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,358
    Rep Power
    6

    Default Re: Help to make a new Java software.

    You basically have the choice between using Swing; old fashioned, quirky (especially on modern OSes such as Windows 8), no longer further developed but "it works" and lots of people know it front to back. You can also use JavaFX 2 - which is relatively new, looks flashy, has extended tooling and is still actively developed but because it is still so relatively young you'll likely find far less people who can help you with the more critical problems you may run into.

    Decisions decisions, I can't make it for you.

    EDIT: I forget: you could also use SWT which is an alternative windowing toolkit developed by and for Eclipse. If it were me I'd just stick with what is in the JDK but perhaps it is exactly what you feel comfortable with, who knows.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Replies: 0
    Last Post: 06-19-2010, 09:11 PM
  2. Replies: 0
    Last Post: 01-15-2010, 08:16 AM
  3. make my own software?
    By makpandian in forum Advanced Java
    Replies: 6
    Last Post: 01-06-2009, 06:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •