Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 640519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:57:44+00:00 2026-05-13T20:57:44+00:00

Say I have a GUI Java project of something that simulates an ATM machine,

  • 0

Say I have a GUI Java project of something that simulates an ATM machine, and i have classes such as :

 - RegisterWindow
 - LoginWindow
 - MainAccountOptionsWindow

etc, where all the classes are focused around the panels/windows rather than normal OO design. Someone told me that this is a specific design pattern, maybe something starting with E, I just cant remember what they said now! Does anyone know? Is it generally bad to design stuff this way?

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T20:57:44+00:00Added an answer on May 13, 2026 at 8:57 pm

    It depends on how events are propagated between to/from windows.

    The nice thing with MVC is that there are so many different types of MVC that simply saying “MVC” doesn’t mean very much: when talking MVC and Java a lot people actually refer to Sun’s “model 2” MVC but it isn’t always the case, far from it.

    Your case may be a variation of HMVC/PAC but I cannot tell for sure because you only pasted names related to the view: HVMC was independently discovered by programmers unaware of the much older ‘PAC’ technique. PAC is a stricter subset of HMVC in that in PAC the view cannot register callbacks directly in the model (every notification must pass trough the controller, in HVMC in some case the controller can be bypassed).

    200KLOC codebase where it’s PAC everywhere (so a stricter subset of HMVC).

    You have to know that if you are indeed using any MVC variation, it is not “bad design” for it works very well but it is certainly not “OO”. In a true OO design objects know how to draw themselves and MVC is, by definition, decoupling the view from your objects, which is not OO at all. It is actually the anti-thesis of OO. There are great articles on that subject that can be found by Googling. (In short: decoupling can be a very good thing, but decoupling doesn’t imply “OOness”).

    In addition to that, it is typically not a problem to be “not OO at all” because 99% of Java programs are not OO: they’re glorified procedural programs written using a language that could be used to do OO but that usually is not.

    By the way if you look on Wikipedia at the list of languages for which MVC implementation have been made you’ll see that a lot of them are actually not OO languages (not even hybrid OO languages).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 366k
  • Answers 366k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You are invoking undefined behavior. Absolutely anything can happen at… May 14, 2026 at 4:41 pm
  • Editorial Team
    Editorial Team added an answer Tanel Poder's snapper script does a wonderful job of actively… May 14, 2026 at 4:41 pm
  • Editorial Team
    Editorial Team added an answer John Resig (of jQuery fame) has a bunch of interesting… May 14, 2026 at 4:41 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.