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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:20:39+00:00 2026-06-01T21:20:39+00:00

How can i create button, when you go across with mouse show that yellow

  • 0

yellow window

How can i create button, when you go across with mouse show that yellow window.

Open.setToolTipText (Open); // how change it from blue to yellow?
  • 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-06-01T21:20:41+00:00Added an answer on June 1, 2026 at 9:20 pm

    The message displayed when the user hovers over a JButton is called a tooltip.

    You can create one using the code found in the Java tutorial here:
    http://docs.oracle.com/javase/tutorial/uiswing/components/tooltip.html

    To customize the background of the tooltip, you can do one of two things:

    • Change the Look and Feel
    • Use the following code to change the tooltip alone:

      UIManager.put("ToolTip.background", new ColorUIResource(255, 247, 200)); //#fff7c8
      Border border = BorderFactory.createLineBorder(new Color(76,79,83));    //#4c4f53
      UIManager.put("ToolTip.border", border);
      ToolTipManager.sharedInstance().setDismissDelay(15000); // 15 second delay  
      setToolTipText(message); // Message to display
      

    Source: Moon Ocean Oracle Blog

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

Sidebar

Related Questions

I am trying to create a button that can pop up the speech input
So, I can create an input button with an image using <INPUT type="image" src="/images/Btn.PNG"
How can I create a person photo button like the one in contact info
How can I create an action so when a button is clicked the Apple
How can I create in a Swing interface a toggle image button? I have
Can any one tell me how to create the rounded button (Circular Button) in
So I wanted to create a toggle-button for a table, where I can make
Can someone help me create an index/count button for a UITableView, like this one?
how can hide particular button which is created from UIBarButtonItem in iphone ?
A client wants me to create a website that can go to fullscreen when

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.