Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 7 of 7

Thread: need for some advice

  1. #1
    Junior Member
    Join Date
    Jan 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default need for some advice

    hi.

    i am getting started with swing, and i was wondering if i am making some right choices. Meanwhile i dont know where to start.

    I want to create an graphical editor for my thesis.
    That means that I need to implement:
    - a tree with a hierarchy of concepts
    - draw several kind of graphs/ diagrams (drag and drop the concepts from the tree and create the nodes, connect them with each other with edges, extend a graph with other type of nodes...)
    - docks with properties for the edges. there with be various kind of edges, so the properties will have to comply with the type of the edge.
    - docks with tools for the graphs, e.g. edges, types of nodes.
    - save the created 'project' somehow... and load the saved ones.
    - .. and other stuff that i guess will come during the develpment.

    So the questions are:
    1. is eclipse and visual swing editor good enough? if not, what should i use?
    2. from where to start to?! how to organize my code? packages/ objects, is there a desing pattern for this kind of java projects? (e.g. web applications have mvc for start, factory, observers...). Is there a book that i could read?
    3. how to save the created object?


    Can someone advice me on this?
    I will be grad to provide you more information for the project if it is needed.


  2. #2
    Member DanBrown's Avatar
    Join Date
    Jan 2011
    Posts
    134
    My Mood
    Confused
    Thanks
    1
    Thanked 12 Times in 12 Posts

    Default Re: need for some advice

    Dear kasiopi,

    Tools you had selected are enough for this project and about the tutorials or book reference.

    I will prefer you to go through examples available on Oracle site.

    Link given below will show you example of drag and drop.

    Java Swing Tutorial

    if this tutorials is not enough and you need more content please let us know.

    you are really working on good project , work hard and make its source code available for the other forum members if possible.

    Best of luck.
    Thanks and Regards
    Dan Brown

    Common Java Mistakes

  3. #3
    Junior Member
    Join Date
    Jan 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: need for some advice

    Quote Originally Posted by DanBrown View Post
    Tools you had selected are enough for this project and about the tutorials or book reference.
    ok, thanks. cause i downloaded examples of java 2d, fx and though that swing will not be enough.
    it is also written that swing it is obsolite..
    e.g. eclipse is written in java, what libraries does it use for it gui?

    Quote Originally Posted by DanBrown View Post
    Java Swing Tutorial
    if this tutorials is not enough and you need more content please let us know.
    ok. thanks. will look it up and let you know.

    Quote Originally Posted by DanBrown View Post
    you are really working on good project , work hard and make its source code available for the other forum members if possible.
    yes! i was thinking gradually committing it on google code. any other suggestions?

    Quote Originally Posted by DanBrown View Post
    Best of luck.
    thanks for your reply.

  4. #4
    Junior Member
    Join Date
    Jan 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: need for some advice

    Should i use flexdock ?

    https://flexdock.dev.java.net/

  5. #5
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: need for some advice

    This topic has been crossposted here: need for some advice - Java Forums
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  6. #6
    Junior Member
    Join Date
    Jan 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: need for some advice

    Yes I cross-posted it. isn t it allowed? Sorry if not.

  7. #7
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,320
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: need for some advice

    Quote Originally Posted by kasiopi View Post
    Yes I cross-posted it. isn t it allowed? Sorry if not.
    Cross-posting is not forbidden on these forums, however we do ask users to post links to other locations the question was asked. KevinWorkman has kindly done this for you. This helps both you and others helping you. For info about crossposting, read the following: The Problems With Crossposting

Similar Threads

  1. A little advice please:
    By SDKC in forum Java Theory & Questions
    Replies: 1
    Last Post: December 8th, 2010, 08:15 PM
  2. Need some help/advice for my GUI code.
    By J-Ark in forum What's Wrong With My Code?
    Replies: 3
    Last Post: September 4th, 2010, 12:23 PM
  3. Need some general and specific advice.
    By Morevan in forum Loops & Control Statements
    Replies: 2
    Last Post: January 3rd, 2010, 11:31 PM
  4. Programming advice
    By silverspoon34 in forum Java Theory & Questions
    Replies: 1
    Last Post: November 6th, 2009, 04:19 PM
  5. i need some advice ....
    By mdstrauss in forum Java Theory & Questions
    Replies: 8
    Last Post: July 24th, 2009, 02:29 PM