stage Questions

1

Solved

I have number of TextField objects inside a pop up window called dialog (type : Stage). I am trying to define an action handler for them which aims to close the stage once the escape button is cli...
Mindy asked 5/9, 2016 at 10:13

2

Solved

I am creating an application in JavaFx, In which I want to do that if any child stage is getting opened then it should be opened in center of parent stage. I am trying to do this using mystage.cent...
Electrolyse asked 4/12, 2012 at 11:47

3

In JavaFX, how can I get the event if a user clicks the Close Button(X) (right most top cross) a stage? I want my application to print a debug message when the window is closed. (System.out.printl...
Prate asked 22/3, 2014 at 10:15

5

Solved

I've been trying to move an undecorated stage around the screen, by using the following mouse listeners: onPressed onReleased onDragged These events are from a rectangle. My idea is to move t...
Calx asked 2/8, 2012 at 14:51

5

Solved

I'm using JavaFX 2. I want my frame to open maximized but I'm not seeing a way. I searched a bit on the internet without success. For the stage I see setFullScreen() and setIconified() but I don't ...
Deangelis asked 28/7, 2011 at 19:27

3

Solved

I develop one javafx application. In my application there are two scenes and one stage. In application the height and width for both scenes are same or constant. so as per my research the height a...
Kedah asked 25/9, 2013 at 7:23

3

Solved

I'm currently working with two controller classes. In Controller1 it creates a new stage that opens on top of the main one. Stage stage = new Stage(); Parent root = FXMLLoader.load(getClass().ge...
Prescription asked 6/12, 2014 at 17:35

3

Solved

How do you find out the size of the system chrome so that I can specify the window size to achieve the stage size I want? If my main window is set at 800 x 600 (stage), and I create a second windo...
Fabricant asked 19/1, 2012 at 16:27

3

Solved

I have a stage, a scene and a WebView node. When I expand the window to a larger size - things get pretty sluggish due to WebView. What I want to do is fill the new space for WebView only when the ...
Stearns asked 7/7, 2012 at 18:33

2

Solved

Is it possible in javafx to open new stages (windows) from another fxml with a button? Thanks for the answers.
Anatolian asked 26/11, 2014 at 23:57

1

Solved

How can i determine the stage/window insets in JavaFX? In Swing i could simple write: JFrame frame = new JFrame(); Insets insets = frame.getInsets(); What would be the equivalent in JavaFX to ge...
Adjunction asked 3/11, 2014 at 9:41

3

Solved

I need to make a drawn rectangle mouse transparent, in order to see the desktop. The following code draws my rectangle. What should I add to get that ? Thanks for help public void start(Stage prim...
Meredi asked 6/10, 2014 at 18:27

1

Solved

I read answer about putting Title in FXML (JavaFx : Set window title in fxml file), but I don't understand how to call this code. I can't call it in the classic way: FXMLLoader loader = new FXML...
Cohune asked 26/8, 2014 at 16:19

1

How can I run a piece of code (or more exactly: close the stage) when the JavaFX stage lost it's focus? For example in Dropbox or Chrome: if you click the tray icon, a small window opens. If you c...
Oberstone asked 4/6, 2014 at 13:37

1

I am doing a timeline project. I have successfully created a login system and menus for everything, but when I press the buttons I have done so it will open a new window(with stage, scenes). I have...
David asked 13/5, 2014 at 9:22

1

Solved

I'm using git to manage my project. And I'm confused with the workflow of git when staging a file. If I staged files and forgot commit and then I modify that files and stages again and commit, how...
Fabulous asked 25/1, 2014 at 9:50

4

Solved

This is my current render method on my level in my Libgdx game. I am trying to draw a BitmapFont on my level's top right corner but all I'm getting is a bunch of white boxes. @Override public v...
Stiles asked 9/11, 2012 at 23:0

1

Solved

The question is pretty simple, but I haven't found any examples relating to this. I want to obtain the containing Stage of a UI Control in JavaFX. Is there a way to do this?
Dinahdinan asked 10/3, 2013 at 16:29

1

Solved

I'm writing simple solar system simulator. This is my first libgdx project. I'm using a Stage and Actors for the main menu and is pretty handy especially touch events handling. But ... looking at t...
Vaccinia asked 16/5, 2012 at 13:17

1

Solved

In my Flash Application (AS3), I want to get the stage size and use that so my objects (which the user controls) can't go outside of the screen. However, when I use: stage.stageWidth; stage.stageH...
Profundity asked 20/1, 2011 at 23:19

© 2022 - 2024 — McMap. All rights reserved.