Questions tagged [stage]

In case of ActionScript terminology, stage is used as a parent Display Object of all assets like images, text, videos, swf, etc. those are placed on this stage. These assets are not displayed until they are added to stage.

633 questions
4
votes
1 answer

How can I remove my javafx program from the taskbar

I need remove my javafx app from the taskbar. I tried StageStyle.UTILITY. This is works but I need both UNDECORATED and UTILITY stage styles or another solvings. Thank you for your replies.
Bent
  • 81
  • 8
4
votes
1 answer

Javafx Scene switching causing stage size increase

I am using Javafx (without using FXML), and I am passing the stage into the a controller to change the scene on the stage when a button is clicked. The scene changes correctly but the size of the stage and the scene increases.It increases in size by…
user2370794
  • 69
  • 1
  • 6
4
votes
1 answer

Play framework 2.3.x Server Error Cannot register class

I recently uploaded Play application on server. Problem is that I can ran application through command activator run it compiles and runs fine. When I try to do activator clean stage it also compiles but after …
4
votes
1 answer

spark splits a stage on “apply at Option.scala:120”

When I run spark applications, I see from the web-ui that some stage description are like “apply at Option.scala:120”. Why spark splits a stage on a line that is not in my spark program but a Scala library?
user3733525
  • 231
  • 1
  • 3
  • 5
4
votes
4 answers

LibGDX stage coordinates change on window resize

I have seen lots of topics on LibGDX and screen/cam coordinates and also some on window resizing, but I just can't find the solution to the following problem I have. When making a basic stage and a basic actor in this stage, say windowsize 480x320,…
user2150129
  • 55
  • 1
  • 2
  • 7
4
votes
2 answers

How to stop WebEngine after closing stage JavaFX?

When i create new stage with WebEngine that playing video from YouTube, after i close it - Youtube keeps playing on backgroung. If i use "Platform.exit" - its close all my JavaFX App, but i want to close only stage that been created for…
user3425552
  • 43
  • 1
  • 3
4
votes
1 answer

Stages a staged file in git?

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 can I roll back to first staged ?
ThangNguyen
  • 197
  • 1
  • 12
4
votes
1 answer

Git porcelain command to revert a single file to its HEAD state but keep its staged state?

Is there a git porcelain command to revert the working dir state of a staged file to its HEAD state and at the same time keep the staged state of the file? Later I would like to be able to revert the working dir state to the staged state of the…
Dimitar Bonev
  • 3,326
  • 1
  • 15
  • 16
4
votes
1 answer

How to implement Minimap of KineticJS Layer?

I am currently working on an application which displays kind of amap. You can do several actions on the map. The map can get really big so the user needs a smaller map (Minimap) to keep track of the whole map. Currently there are two stages. The one…
Ality
  • 41
  • 3
4
votes
1 answer

Kineticjs how to centre image on stage and resize depending on browser

I am adding an image to the stage as a background image and a rectangle. How can I ensure that the rectangle is centred on the stage and that the background resizes depending on the browser?
bertassa
  • 665
  • 3
  • 11
  • 16
4
votes
2 answers

Create a JavaFX primary stage inside a normal Java application

I have a launcher and a JavaFX class. The launcher creates a class called JavaFXApplication1. The JavaFXApplication contains the whole JavaFX code (Just a little example in this case) and should setup a window with one primary stage. The launcher…
swaechter
  • 1,357
  • 3
  • 22
  • 46
4
votes
2 answers

libgdx touchUp event

I'm using an actors with a stage as buttons. I can detect when touchDown/touchUp events occur just fine over the actor, but when the user taps on the actor and then proceeds to drag their finger off the actor, the touchUp event never fires. I tried…
Skepte Cist
  • 41
  • 1
  • 3
4
votes
1 answer

JavaFX 2: Prevent other Stages from stealing focus from primary Stage

I have a main Stage and would like to create multiple additional Stages (Windows). These would be like palettes in Photoshop that control the main Stage, but I want the functionality of having a title bar, resizing, and being able to drag these…
JavaMonkey22
  • 861
  • 11
  • 20
4
votes
3 answers

Git: can't commit a file even though I've resolved the conflict

I pulled from origin to update my local, and one file had conflicting changes. I resolved the conflict, but I can't commit (locally) because git still thinks the file is conflicting: $ git add style.css This works - no errors or anything. Then: $…
daGUY
  • 27,055
  • 29
  • 75
  • 119
4
votes
1 answer

ImageButton doesn't seem to detect clicks (Scene2d.ui)

When trying to put a simple ImageButton on stage, It didn't seem to detect clicks. ImageButton btnStart = new ImageButton(ButtonArt.UP, ButtonArt.DOWN)); // btnStart.setClickListener(new ClickListener() { // @Override // public…
user717572
  • 3,626
  • 7
  • 35
  • 60