Solved

Disable beep in JDialog

Posted on 2010-09-01
2
781 Views
Last Modified: 2013-11-23
I want to prevent a JDialog from beeping on display.

I have a class that extends JDialog. In the constructor I set up the components and layout, and then the last line in the constructor I do:
setVisible(true);

Open in new window

at which point it beeps.

How do I stop this?
0
Comment
Question by:allelopath
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
rumi78 earned 250 total points
ID: 33581445
JDialog is a blocking window, so you cannot interact with window below it. So most implementations show the dialog on top view (good for them), otherwise you would not be able to click on dialog below window you can not interact with.

Maybe you should just use  frame if you do not want it to be modal.

rgds
rumi
0
 
LVL 92

Assisted Solution

by:objects
objects earned 250 total points
ID: 33582550
The beep is coming from the OS, so you cannot disable it directly from java
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question