Results 1 to 2 of 2
  1. #1
    Martino is offline Member
    Join Date
    Apr 2011
    Posts
    12
    Rep Power
    0

    Default Need help with JFrame and Managers.

    Hi,

    I am building a Java Desktop Application.

    I will build a nice GUI, but also with managers for the data.

    I was questioning:

    Where do I have to write those managers with their instances? Do I have to write them in the code of the main JFrame or in a different stand-alone class?

    Can someone advice me in this?

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    You're better off to do your data manipulation in a non-GUI class, and often in a background thread if they are cpu and or time intensive. You might want to check Google and Wikipedia for information on the MVC or model view control design pattern for more information.

Similar Threads

  1. Looking for Java Project Managers
    By Ghosh Arpita in forum Jobs Offered
    Replies: 0
    Last Post: 12-01-2010, 09:21 AM
  2. Why use layout managers in applet?
    By Splat in forum New To Java
    Replies: 2
    Last Post: 10-14-2009, 04:41 AM
  3. Download managers
    By islamfunny in forum CLDC and MIDP
    Replies: 4
    Last Post: 08-15-2008, 01:19 AM
  4. Multiple Layout Managers
    By AJG in forum New To Java
    Replies: 0
    Last Post: 04-06-2008, 01:43 AM
  5. Layout Managers
    By gmioannou in forum AWT / Swing
    Replies: 1
    Last Post: 12-24-2007, 04:12 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
  •