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 740105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T08:28:37+00:00 2026-05-14T08:28:37+00:00

Some swing code I write in my computer behave different on my colleague’s computer,

  • 0

Some swing code I write in my computer behave different on my colleague’s computer, and in my PC, and in my notebook.

I wonder, is there something I can do to my Swing applications behave the same in every computer?

I want to have sure a algorithm I’ve tested in my computer will work the same way in my clients computers.

E.g.
Problem to focus JTextField works fine in my notebook with Windows XP, but not in my collague’s computer with Windows XP, nither in my work computer with Ubuntu.

obs. the specific JTextField problem is not the subject of this question.

  • 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-14T08:28:38+00:00Added an answer on May 14, 2026 at 8:28 am

    Problems with Swing apps on different platforms are common and they are caused by the simple fact that no matter what level of abstraction Java offers it has to play ball at some point with the native components of the underlying operating system. Event though Swing only uses the windows(frame) and draw everything by itself – discrepancies are very very common.

    I develop a mutliplatform Swing application – and users on Windows are reporting all sorts of issues that Linux users don’t have and vice versa. Sadly there is no silver bullet for such problems – extensive testing and nasty fixes are the only game in town.

    And everything come exceptionally buggy and dirty in the area of pluggable look and feels. For example – resizing a JSplitPane with metal or nimbus is super fast(as expected), but if you use GTK+ plaf, everything goes to hell. This is a more serious(performance) problem – visual problems(missing borders, components not fitting properly containers, etc) have no end… Despite all of this Swing continues to be one of the best bet for multiplatform desktop applications.

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

Sidebar

Related Questions

I am starting to write some code in Java Swing and I am getting
I have write this code for displaying some set of colors from panel: import
Are there any libraries that instrument code to verify that methods called on Swing
I need to write some code to stress-test RS232 communication using rxtx ( note
My goal is to create some kind of swing component that can do two
What's up y'all, I am trying to write some code in Java that will
I'm trying to write some code using OpenCV. My sensor is from Point Grey
I am trying to figure out where in some Swing code a UI window
I'm looking to unit test some SWT and Swing code for a project I'm
Till now, I have developed simple swing applications so there was no need to

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.