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
2
votes
3 answers

JFrame to behave as JDialog?

I've a simple JDialog with JOptionPane and it works fine. But I want to use JFrame and create more complex window but I want it to act as JDialog, it means I need to halt code when JFrame or JDialog opens as next steps depends on what is chosen in…
user1337192
  • 101
  • 7
2
votes
1 answer

How to make JFrame to be modal?

Possible Duplicate: How to make a JFrame Modal in Swing java How to make JFrame to be modal? Please don't suggest to use JDialog. The question is about JFrame. How to make modal namely it?
Suzan Cioc
  • 29,281
  • 63
  • 213
  • 385
2
votes
1 answer

Java (Windows-only issue): alwaysOnTop JFrame falls to bottom of z-order when modal dialog is popped and blocked JFrames are clicked

I have a Java application whose basic UI consists of two JFrames: a client area, and a tool palette which should always appear above the client area. To achieve this, the tool palette is set to alwaysOnTop(true), which works quite nicely in all…
1
vote
1 answer

changing scenes in full screen

I have read several questions/solutions here that are related to my problems. but nothing seems to work. so I have a primarystage in fullscreen mode, say if i click a button it changes the scene. but the stage seems to display the taskbar. also I…
1
vote
1 answer

Modality and Ownership JavaFX-8 Windows

So let's say that I have a menu with a bunch of buttons, each button when clicked takes me to another window. I need these other windows to be the main focus, so I used the initModality and initOwner functions. Here's the action listener for one of…
ace_01S
  • 387
  • 2
  • 5
  • 16
1
vote
0 answers

JDialog modality issue using MVC design pattern

I've been building a little project with gui that retrieves data from a sample database called 'world', which contains a country, a city and a countrylanguage tables. (I'm only using the first two.) This project has a main window with a JMenuBar…
Zsolt Ébel
  • 120
  • 1
  • 9
1
vote
0 answers

JavaFX - Modality "order"

For locking a client application (after some time of user inactivity) I do popup a application modal dialog (Dialog class) which prevents all other user inputs and forces authentication which works just fine. There is one problem with this approach.…
1
vote
1 answer

JoinConference with the Lync 2013 client SDK in UI suppression mode

I'm working on a project that uses the Lync 2013 client SDK in UI suppression mode to show a custom UI for Skype. I am able to call the ConversationManager.AddConversation() method and connect to IM, audio and video just fine for 1 on 1 calls. Now,…
1
vote
1 answer

Is Identifying / Non-Identifying Relationship the same as Mandatory / Optional Relationship?

Basically, what is the difference between Identification and Modality of a relationship? If they are the same thing, why MySQL Workbench implements them separately? Further Explanation: I get that Identification of a relationship means that the…
Makan
  • 2,508
  • 4
  • 24
  • 39
1
vote
1 answer

JDialog with Modality set to Dialog.ModalityType.MODELESS : optionPane.getValue() not working anymore

i have an application, where I need to work on a frame, while I want to have a dialog open. So I set the modality to Dialog.ModalityType.MODELESS. While this enables me to interact with the parent JFrame, I cannot use the getValue() anymore on the…
BuddhaWithBigBelly
  • 345
  • 1
  • 6
  • 15
1
vote
0 answers

VB6 Form Modality : Runtime Error #5

VB6 I'm trying to display a non modal Form from a non modal form, but upon calling the .Show method, i keep getting a run-time error #5. This is only happening when the .exe is compiled and does not occur in the IDE. Anyone else run into a…
John Czajka
  • 183
  • 1
  • 1
  • 11
1
vote
2 answers

How to catch mouse click event on a window blocked by opened JDialog

To put it simple - what i want is to catch mouse click on a Window blocked by a modal JDialog. Here is an example: public class BlockedFrameTest { public static void main ( final String[] args ) { Toolkit.getDefaultToolkit…
Mikle Garin
  • 10,083
  • 37
  • 59
1
vote
1 answer

Providing help for a modal dialog in Qt

I am working on a Qt application and developing a context sensitive help solution. When a Modal Dialog is active and F1 is pressed, I would desire to be able to interact with the Modal Dialog and help at the same time until the help solution is no…
Bruce Chidester
  • 621
  • 1
  • 5
  • 16
1
vote
1 answer

Pop up a JFrame in front of a modal JDialog

In the application we are designing, we have a class that inherits from JFrame. This class launches a derived class of JDialog that is modal in order to capture some input from the end user. This derived class now needs to launch a different JFrame…
1
vote
2 answers

Force one JFrame to always be on top of another

I want to have a JFrame that is always on top of another 'parent' frame but not always on top of everything I have attempted to use: JInternalFrame -- doesn't work because I have to use JDesktopPane which is unnaceptable because the parent frame…
chessofnerd
  • 1,219
  • 1
  • 20
  • 40