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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:48:52+00:00 2026-05-10T20:48:52+00:00

I am new to Swing. Are there any specific issues related to customizing the

  • 0

I am new to Swing.

Are there any specific issues related to customizing the paint operation on the Mac?

I have developed a sample application using NetBeans + Swing on Windows. It is working fine. But if I run the same application on a Mac, panels’ buttons’ labels don’t appear on the screen. Only when the mouse over operation is performed on particular component does it get displayed on the screen.

Kindly can anyone help me out in solving this issue?

Thanks in advance. sakkiharry

  • 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. 2026-05-10T20:48:53+00:00Added an answer on May 10, 2026 at 8:48 pm

    Since Swing paints all UI itself, it is not really influenced by Mac OS. There are exceptions, though. If you allow Java to use a native menu, the menu will behave like any other Swing menu, but it is in fact translated to native menu functions (so it will be displayed on top of screen and behave like a native Mac OS X menu… nothing you as programmer need to care about, but great for Mac users, who hate menus to appear elsewhere).

    I guess your issue is probably something else, but it’s hard to guess, if I have no code to work with. Can you break down the issue into an ultra minimal test case? E.g. can you just draw a JFrame, add a singe one of your custom buttons there, that shows the problematic behavior and just use as much code as is necessary to paint this minimal UI and expose the problem? If you’d post this code here, I’d take a closer look into it and will try to find out what causes the issue and how to resolve it (I’m a graduated Java programmer, but I also have years of Mac OS X development experience; so these are two fields of knowledge I should know really well, but I usually don’t combine them, as I don’t develop in Java for Mac OS X).

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

Sidebar

Related Questions

I developed one swing application but each time you run application new window is
i am new to netbeans ide , i have a swing desktop application and
I'm new to Windows Forms from the Java Swing world. Is there any equivalent
I tried to create a new Swing GUI desktop application template using NetBean 7.0
I am new to Java Swing I want to develop an POS application which
I have created a swing application as bellow which shows main tasks in tabs
I'm just a java beginner. Do you have any tips there on how to
I'm new to Java Swing & I'm a bit stumped. The application I'm developing
Hi i am new to java swing. i have to add buttons dynamically ,
We have a one Java Swing app. Now there is one requirement that it

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.