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

  • Home
  • SEARCH
  • 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 963153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T01:37:51+00:00 2026-05-16T01:37:51+00:00

Hey all, I’m currently working on a Java Swing application and I was looking

  • 0

Hey all, I’m currently working on a Java Swing application and I was looking for some guidence. The application is fairly small, but I’m noticing that as the code base is growing larger, that I have an awful lot of coupling in my object graph. I’m relatively new to Swing, but I’ve been programming long enough to know where this is headed.

The biggest problem I’m having is setting up my event handling. How should my child windows and objects be communicating events to my higher level objects without having references to them? I’ve done a fair amount of MVC web coding. Does this pattern lend itself well to Swing? Should I be building my own controller? I guess I’m just fishing for patterns that people have found useful working with Swing.

Thanks in advance for your help.

  • 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-16T01:37:52+00:00Added an answer on May 16, 2026 at 1:37 am

    The best way to reduce coupling in a GUI, I think, is to use an Event Bus.
    There are several existing implementations out there, including some supporting Swing specifically.

    Just google for swing event bus and you’ll find.

    If you use Guice in your GUI, you may also want to take a look at guts-events.

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

Sidebar

Ask A Question

Stats

  • Questions 496k
  • Answers 496k
  • 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 Edit: Poking around a little more, it appears your content… May 16, 2026 at 11:48 am
  • Editorial Team
    Editorial Team added an answer see PHP: Installation of PECL extensions. Also take a look… May 16, 2026 at 11:48 am
  • Editorial Team
    Editorial Team added an answer You want inotify (and its man page.) May 16, 2026 at 11:48 am

Trending Tags

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

Top Members

Related Questions

Hey all, my Computational Science course this semester is entirely in Java. I was
Hey all. I have a server written in java using the ServerSocket and Socket
Hey all. I am working on a project for school where we are given
Hey all. I'm trying to see about handling events in a console application. I
Hey all, I am not quite getting why this doesn't seem to be working.
Hey all i've tried to add an other view it work properly but it
Hey all, I'm currently trying to write a compile-time string encryption (using the words
Hey all. Newbie question time. I'm trying to setup JMXQuery to connect to my
Hey all, I have something of an interesting requirement for my project. I need
Hey all. We're sending quite a few emails (around 23k) using IIS6 SMTP service

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.