Questions tagged [modality]

A modality is a form of communication between a user and a program.

A modality defines the state of user interaction with software or a device, and multi-valued logic can be used to handle complex behavior and overlapping states.

References

51 questions
5
votes
1 answer

How can I change the modality of QDialog at runtime?

I have a QDialog and I read a lot about the differences of show(), exec() and open(). Unfortunately I never found a solved solution to change the modality of a dialog at runtime. I have an application and from there my QDialog is started. I have a…
user1416940
  • 53
  • 1
  • 1
  • 3
4
votes
2 answers

Same Instance number for two DICOM Image in a Single Series

I have two images from the same series but both image has same Instance Number as 6. Is it Possible???? upto my understanding in a series instance number will be unique for an image in that series. So please help me... in any case is it possible…
Sujeeth Damodharan
  • 477
  • 2
  • 7
  • 16
4
votes
2 answers

How to make a JDialog not always on top of parent

I have a JFrame that spawns two JDialogs. Each of the three windows needs to be focusable (and are the way I currently have it written) but that JFrame won't go atop the dialogs. When you click on either dialog, they'll pop on top of each other…
captainroxors
  • 718
  • 7
  • 18
4
votes
1 answer

How can an applet be modal and keep IE9 window from closing?

I have a JAVA applet that brings up an application modal dialog. The problem I am having is that the user can close the browser (or tab) and the dialog will remain up. If you click on the IE9 window area or menu bar the dialog appears modal, but…
user1838913
  • 103
  • 6
3
votes
1 answer

Make a modal Stage from a JFXPanel within a Swing application

I have an existing Swing application to which I am adding JavaFX components. I would like for one of my embedded JFXPanels to be able to display a popup dialog using a Stage, and for that Stage to be modal with the existing JFrame as its owner. A…
Timothy McCarthy
  • 857
  • 13
  • 19
3
votes
0 answers

javafx maximized window moves if dialog shows up

If I create a javafx dialog using the following method: public static void showDialog(Event event) throws IOException { dialogStage = new Stage(); GridPane grid = (GridPane)…
user1713946
  • 83
  • 1
  • 5
3
votes
1 answer

Unable to make JDialog modal

I am trying to open a new JDialog when the "Register" Button is clicked.. But I am unable to make the JDialog modal.. I have tried setModal(true) and also setModalityType(ModalityType.DOCUMENT_MODAL); But no luck..(I am using Eclipse's WindowBuilder…
Soumav
  • 385
  • 1
  • 6
  • 25
2
votes
1 answer

Swing - can't switch language in Windows with modal JDialog

I have a weird problem with modal jdialog in windows xp. It seams i can't switch windows language with alt+shift while dialog is focused. I don't want parent frame to be accessible. Please help me. public class MyDialog extends JDialog { …
Ivan Ivanovich
  • 227
  • 1
  • 3
  • 7
2
votes
1 answer

can I make JDialog to be modal using native system window as a parent?

I have a JDialog window. I need to make it modal, but the parent is not Java window, but native Windows OS window. Is it possible?
Oleg Vazhnev
  • 23,239
  • 54
  • 171
  • 305
2
votes
2 answers

How to change the modality of a dialog while it is visible

I have a JDialog for which I set the modality as model less. But, now I need to modify its modality while it is visible. But I know that Swing does not allow to change the modality of a dialog while it is visible. So, is there any other tricks or…
Saikiran Gosikonda
  • 928
  • 1
  • 11
  • 29
2
votes
0 answers

Lync SDK ModalityStateChanged status codes

I write program which uses lync 2013 via Lync 2013 SDK. I call (audio) to another users and I need to automatically detect the end of my call (drop after answered, voice mail, reject, no answer, invalid number). I use event of class AVModality…
kukidon
  • 21
  • 2
2
votes
1 answer

How to stop JOptionPane from disabling root frame

How do I show a JOptionPane without disabling any currently open frames? I have a JFrame with a Start and Stop button. At any point, I want the user to be able to press the 'Stop' button on the main frame, to stop a secondary Thread (which was…
Jamezo97
  • 78
  • 5
2
votes
1 answer

How to catch clicks on blocked window?

There are two windows in my Qt project: parant and child. Child window is modal, so all clicks on parent window are ignored by system. I need to react on mouse clicks on internal part of parant window (I understand that it is strange requirement,…
Ilya
  • 4,583
  • 4
  • 26
  • 51
2
votes
2 answers

JFrame "blocking" show()

I'm using CHARVA (ncurses-like Swing) and I have a problem. Because charva is very similar to Swing, I think the solution for Swing is the same to charva. I'm developing an application that call a JFrame-extended class, get its return code and shows…
2
votes
2 answers

using modality in a popup window javafx

I kept a popup dialog on a pane and it came at the top of the other components. Now I want to disable accessing all the other components of the program. How to do it?
oldvipera
  • 305
  • 4
  • 8
  • 16
1
2 3 4