Results 1 to 3 of 3
  1. #1
    Daniel is offline Member
    Join Date
    Jun 2007
    Rep Power

    Default Swing Graphic interface

    I am in process to develop a drawing software in swing ,for this i had created a AWT frame and aother components like Toolbar and menu are designed in swing now i am confused that is any standard desing patter avilable for this type of applicatin.

    Please Help


  2. #2
    Marcus is offline Member
    Join Date
    Jun 2007
    Rep Power

    Default RE: Swing Graphic interface

    I think he's looking for something similar to your drawing applet tutorial, but swing.

    As for which pattern to use. Other than MVC, I'm not familar enough with what you are trying to do to suggest a pattern.


  3. #3
    Albert is offline Senior Member
    Join Date
    Jun 2007
    Rep Power

    Default RE: Swing Graphic interface

    This isn't very specific information. As i mentioned previously, you'll probably want to use MVC to put your application together.

    Also don't feel obligated to use a specific pattern. As you've found out when you tried to shoe horn your application into the visitor pattern which didn't work as expected. Why can't you modify your app to work with what you already have? Patterns are general guidelines, just because your code doesn't match the textbook definition, doesn't mean you can't tweak it.

    If you do tweak the visitor pattern a little to fit, let us know what you did so we can check it out and possibly add it to our Pattern Catalogs

    Here's a bunch of patterns you can sift through online pattern catalog. Please check this link


Similar Threads

  1. Graphic settings being overridden?
    By sjchase in forum New To Java
    Replies: 0
    Last Post: 01-17-2008, 12:27 AM
  2. Basic Graphic
    By jkswebsite in forum Java 2D
    Replies: 6
    Last Post: 11-26-2007, 03:19 AM
  3. How do insert a Graphic
    By carl in forum New To Java
    Replies: 1
    Last Post: 08-01-2007, 05:30 AM

Posting Permissions

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