DeadLock in JavaFX GUI

Hello
can you please help me to resolve this DeadLock :
Name: task.8
State: BLOCKED on java.lang.Object@258c0afc owned by: AWT-EventQueue-0
Total blocked: 1 Total waited: 0
Stack trace:
com.sun.embeddedswing.EmbeddedEventQueue.setAnimationRunnable(EmbeddedEventQueue.java:579)
com.sun.embeddedswing.SwingGlueLayer.setAnimationRunnable(SwingGlueLayer.java:120)
com.sun.javafx.tk.swing.SwingToolkit.setAnimationRunnable(SwingToolkit.fx:304)
com.sun.javafx.tk.Toolkit$1com$ObjLit$5.setAnimationRunnableImpl(Toolkit.fx:313)
com.sun.scenario.ToolkitAccessor.setAnimationRunnable(ToolkitAccessor.java:69)
com.sun.javafx.tk.desktop.MasterTimer.postUpdateAnimationRunnable(MasterTimer.java:249)
com.sun.scenario.animation.AbstractMasterTimer$MainLoop.updateAnimationRunnable(AbstractMasterTimer.java:366)
- locked com.sun.scenario.animation.AbstractMasterTimer$MainLoop@6c5ea088
com.sun.scenario.animation.AbstractMasterTimer$MainLoop.setJobsReady(AbstractMasterTimer.java:357)
- locked com.sun.scenario.animation.AbstractMasterTimer$MainLoop@6c5ea088
com.sun.scenario.animation.AbstractMasterTimer.notifyJobsReadyImpl(AbstractMasterTimer.java:256)
com.sun.scenario.animation.AbstractMasterTimer.notifyJobsReady(AbstractMasterTimer.java:598)
com.sun.scenario.animation.FrameJob.wakeUp(FrameJob.java:34)
com.sun.scenario.scenegraph.JSGPanelRepainter.addDirtyPanel(JSGPanelRepainter.java:82)
com.sun.scenario.scenegraph.JSGPanel.markDirty(JSGPanel.java:381)
com.sun.javafx.tk.swing.SwingScene$SwingScenePanel.markDirty(SwingScene.java:415)
com.sun.javafx.tk.swing.SwingScene.markDirty(SwingScene.java:122)
javafx.scene.Scene.addToDirtyList(Scene.fx:244)
javafx.scene.Node.impl_markDirty(Node.fx:313)
javafx.scene.Node.invalidate$visible(Node.fx:565)
yala.fm.Main$1javafx$ObjLit$123.update$(Main.fx)
com.sun.javafx.runtime.DependentsManager.notifyDependents(DependentsManager.java:100)
com.sun.javafx.runtime.FXBase.notifyDependents$(FXBase.java:211)
com.sun.javafx.runtime.FXBase.notifyDependents$(FXBase.java:207)
yala.fm.Main.invalidate$Main$$visible$ol$36(Main.fx)
yala.fm.Main.invalidate$progressVisibleRecherche(Main.fx)
yala.fm.Main.set$progressVisibleRecherche(Main.fx)
yala.fm.Main.addStringProgress(Main.fx:1286)
yala.fm.BrowserPlaylistTaskImpl.showPlaylist(BrowserPlaylistTaskImpl.fx:29)
yala.fm.business.taskthread.BrowserPlaylistThread.run(BrowserPlaylistThread.java:30)
com.sun.javafx.async.TaskImpl.run(TaskImpl.java:66)
com.sun.javafx.async.desktop.DesktopTaskManager$IOCallable.call(DesktopTaskManager.java:65)
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
java.util.concurrent.FutureTask.run(FutureTask.java:138)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
java.lang.Thread.run(Thread.java:680)
Name: AWT-EventQueue-0
State: BLOCKED on com.sun.scenario.animation.AbstractMasterTimer$MainLoop@6c5ea088 owned by: task.8
Total blocked: 27 464 Total waited: 27 245
Stack trace:
com.sun.scenario.animation.AbstractMasterTimer$MainLoop.updateAnimationRunnable(AbstractMasterTimer.java:362)
com.sun.scenario.animation.AbstractMasterTimer$MainLoop.run(AbstractMasterTimer.java:300)
com.sun.embeddedswing.EmbeddedEventQueue.doPulse(EmbeddedEventQueue.java:570)
- locked java.lang.Object@258c0afc
com.sun.embeddedswing.EmbeddedEventQueue.access$000(EmbeddedEventQueue.java:82)
com.sun.embeddedswing.EmbeddedEventQueue$2.run(EmbeddedEventQueue.java:473)
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Moderator advice: Please don't post in threads that are long dead and don't hijack another poster's thread. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
Moderator action: Locking this thread.
db

Similar Messages

  • Package javafx.json and javafx.gui not found

    hi ,
    getting package javafx.json and javafx.gui not found errors.... have the package names changed ,, if so pls tell new names of these packages ......

    Hi Josh,
    thanks for your quick reply. I agree that javafx.gui has been replaced by javafx.scene package.
    But can't find reference to javafx.json package.
    Saw its use on http://blogs.sun.com/clarkeman/entry/javafx_script_and_json_weather .
    I'm trying to pass a json from my java code and use it in my javafx code. But in javafx code it comes as plain string

  • JavaFx GUI builder

    older releases of netbens had a Javafx composer which allows us to develop applications easily but when i download netbeans 7.1 i can't find ant gui builder!! i search lot in google but didnt found any quire i would be a great help if anyone can give a little hand
    thanx
    Imal hasaranga perera

    Hi smith,
    I have accepted the license agreement, and trying to download Windows 32-Bit(msi). It downloads 15.9 MB of 16 MB than gives a error message saying "Cannot Copy Javafx_scenebuilder-1_0-beta-b41_windows-i586-04_jun-2012[1]: Access is denied", but it saves the installer.
    When I tried to run the scene builder installer it gives a Windows Installer error message saying "This installer package could not be opened. Contact the application vendor to verify that this is a valid windows installer package"
    I am not getting whats going wrong. Can you please help me. Please mail it to [email protected] if possible.
    Thanks a lot.

  • JavaFX hangs when called from Java

    Hello
    I am developing a java application with a JavaFX gui, the communication from Java works with an java interface. The communication works,but after a few updates the javaFX code hangs and subsequently the Java code also hangs.
    Is this a common problem, and so is there a common solution for this.

    JavaFX UI calls need to be done on the Event Thread. So if your Java Application has multiple threads or runs on a different Thread to need to wrap all callbacks to JavaFX in a deferAction like this:
    class YourFXClass extends YourJavaInterface {
       override public function someMethod(someArgument) {
            FX.deferAction(function() : Void {
                  // doSomething with someArgument
        }

  • Where is the Source of JavaFX

    I have download the JavaFX SDK, it looks contains the src.zip only for the core runtime, but not include src for:
    javafx-gui.jar
    javafx-swing.jar
    websvc.jar
    And it looks the source is also removed from the openjfx-compiler SVN trunk, So can somebody tell me where is the source?

    terrencebarr wrote:
    See http://forums.sun.com/thread.jspa?threadID=5352708&tstart=0
    -- TerrenceNow, the JavaFX1.2 is come out, and Is there any time sheet of when will the library source available?
    I think Sun should either disclose the source code directly, or open source completely. I cant understand why library source code unavailable.

  • New to JavaFX--Calling Java objects from JavaFX

    Hello,
    I am a Java developer who is new to JavaFX. I am having no luck in finding a tutorial that exhibits more than just fun effects. I need to be able to call existing classes from a JavaFX GUI. Can anyone offer any assistance on this? It's very frustrating because this should be a simple task. If we are faced with having to rewrite existing code, we will probably be forced to abandon JavaFX. I hope this is not the case.
    Thanks!

    The answer is yes. The impementation is -
    If you have classes that you keep as library classes that you intend for use irrespective of the platform, then I suspect that you have already written them with no view content. For those, including them in your JavaFX is not really different to using them in Java. I am just learning JavaFX too and the most important lesson for us to learn is that 'JavaFX is Java with FX on the end of it'. I know the strickly come dancing set will say 'oh but what about types'. Well I have found no trouble at all with types, basic or my own, we are in object world so long as the compiler has the class object and we have all stuck to the rules then it has all it needs to act on your objects.
    So your non-View classes can be used as you always use them -
    import mylib'
    var somethingFromMyLibOfClasses = new mylib.ClassThatDoesSomethingVeryClever();
    It is then just a matter of arranging a FX trigger of some kind (trigger/event/timer/bind) to call the function in your library.
    Which triggers and when are the part I am still finding difficult. The basic GUI events are fine (onMouseClick etc), it is 'bind' that is troublesome.
    Binding something in your code to a 'property' of the display element is easy enough, but binding where you have no external variable that relates to 'Property' value is less clear. For example you may have to change a form contents due to a trigger sent from a remote database.
    You have some in the forum talking of 'resize your window a few pixels to force a redraw so that your code can be retriggered'. Others are using timers at high tick frequency to for an update. such as changing a property that you can't see.
    That is utter nonsense, if you look up the proper description of bind then it becomes obvious. Bind can be a two way thing, you can change a value in your element from outside, but you can also change a value outside of your element from within your element.
    Equally that trigger can be your own code. There is no need of trickery to update Scenes, the writters of JavaFX already have it sussed.
    The Sun web site has some great tutirials, but as a personal favourite that cleared up som of the junk about JavaFX that was building up in my mind I reccommend you spend a bit of time here [JavaFX Refference|http://openjfx.java.sun.com/current-build/doc/reference/JavaFXReference.html]
    Not the best layout you will ever see, but it is the best source I have found, then if you use that along side [Master Index|http://java.sun.com/javafx/1.2/docs/api/javafx.stage/javafx.stage.Stage.html] hopefully you will find, as I did, that you do not have to think differently to make use of the FX on the end of Java.

  • Refreshing LineChart in JavaFX 2.1 - advice for a newbie

    Hi folks -
    I am building a JavaFx GUI that needs to have a chart on one tab of our GUI, that the user can update and then have another variable charted. I can create a series, and I can add it to the chart. I have then tried to clear or remove the series from the chart, in order to draw the same series after modifying that series.. however, I cannot figure out how to redraw that modified series on the chart or destroy (remove?) the exisitng series and create and draw a new series.
    In the Oracle documentation, I have only seen this line of code used to cause a series to be drawn on the existing chart:
    lineChart.getData().add(series);but, even if I call
    lineChart.getData().remove(series)and try to add the series again to the chart, with lineChart.getData().add(series), I receive an exception that I am trying to recreate an already created series ('duplicate children added'). What I am trying to do is, display a modified series, as I have changed the data in the series and wish to display that changed series. But I do not see or comprehend what method for getData() does that. How do I get a revised series to display on my lineChart?
    I am extremely new to Java and to JavaFX.
    Edited by: 953258 on Aug 16, 2012 2:44 PM

    Hi. Hi. The following works for me on windows 7 with javafx2.2.
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.chart.LineChart;
    import javafx.scene.chart.NumberAxis;
    import javafx.scene.chart.XYChart;
    import javafx.scene.control.Button;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    public class LineChartSample extends Application {
        @Override public void start(Stage stage) {
            stage.setTitle("Line Chart Sample");
            //defining the axes
            final NumberAxis xAxis = new NumberAxis();
            final NumberAxis yAxis = new NumberAxis();
            xAxis.setLabel("Number of Month");
            //creating the chart
            final LineChart<Number,Number> lineChart =
                    new LineChart<Number,Number>(xAxis,yAxis);
            lineChart.setTitle("Stock Monitoring, 2010");
            //defining a series
         final   XYChart.Series series = new XYChart.Series();
            series.setName("My portfolio");
            //populating the series with data
            series.getData().add(new XYChart.Data(1, 23));
            series.getData().add(new XYChart.Data(2, 14));
            series.getData().add(new XYChart.Data(3, 15));
            series.getData().add(new XYChart.Data(4, 24));
            series.getData().add(new XYChart.Data(5, 34));
            series.getData().add(new XYChart.Data(6, 36));
            series.getData().add(new XYChart.Data(7, 22));
            series.getData().add(new XYChart.Data(8, 45));
            series.getData().add(new XYChart.Data(9, 43));
            series.getData().add(new XYChart.Data(10, 17));
            series.getData().add(new XYChart.Data(11, 29));
            series.getData().add(new XYChart.Data(12, 25));
             series.getData().remove(new XYChart.Data(12, 25));
            VBox vb = new VBox();
            Button btn = new Button("submit");
             btn.setOnAction(new EventHandler<ActionEvent>() {
                @Override
                public void handle(ActionEvent event) {
                    series.getData().remove(new XYChart.Data(12, 25));
                    series.getData().add(new XYChart.Data(15, 30));
                   // series.getData().setAll();
            vb.getChildren().addAll(lineChart, btn);
            Scene scene  = new Scene(vb,800,600);
            lineChart.getData().add(series);
            stage.setScene(scene);
            stage.show();
        public static void main(String[] args) {
            launch(args);
    }There is also series.getData().setAll() method that replaces
    series.getData().remove() and series.getData().add() operations:

  • Javafx properties not displaying in Netbeans

    The property pane comes up but when I select a component no properties are displayed. Netbeans 6.9 RC2.
    Thoughts?
    Thanks.

    I have found the same bug, using Netbeans 6.9.1 and developing a JavaFX GUI. When I add a component to my design scene, and then select that component and try to view its properties in the Properties window, it displays <No Properties>. Have you found a solution to this problem? I have submitted this as a bug to NetBeans.org to see if they can make sense of it.

  • JMF + JavaFx layout problem

    I can creat a GUI in javafx and call the JMF component within JavaFx, just like this
    public class JMFComponent extends SwingComponent{
    var panel: JPanel;
    public var center: java.awt.Component on replace{
    println("[center] set component: {center}");
    panel.add(center, BorderLayout.CENTER);
    public override function createJComponent():javax.swing.JComponent{
    panel= new JPanel(new BorderLayout());
    var size:Dimension = new Dimension(width, height);
    panel.setPreferredSize(size);
    panel.setMinimumSize(size);
    panel.setMaximumSize(size);
    panel.setSize(size);
    return panel;
    public class MyMedia extends CustomNode {
    var xpos: Number;
    var ypos: Number;
    var dx: Number;
    public var url: java.net.URL;
    public var autoPlay: Boolean;
    public override function create(): Node{
    var comp:java.awt.Component;
    var control:java.awt.Component;
    var w:Number;
    var h:Number;
    var cw:Number;
    var ch:Number;
    var jmfCom:JMFComponent;
    var player = Manager.createRealizedPlayer(url);
    comp=player.getVisualComponent();
    control=player.getControlPanelComponent();
    if (autoPlay) {
    player.start();
    w=comp.getPreferredSize().getWidth();
    h=comp.getPreferredSize().getHeight();
    cw=control.getPreferredSize().getWidth();
    ch=control.getPreferredSize().getHeight();
    jmfCom=JMFComponent {
    width:w
    height:h+ch
    center: comp
    blocksMouse: true
    bottom: control
    return Group{
    content: [
    jmfCom
    Stage {
    title: "Media Example"
    width: 500
    height: 500
    onClose: function(){ java.lang.System.exit(0);}
    scene: Scene {
    content: MyMedia{
    url: (
    new java.io.File("C://My//Videos//DELTA.MPG")).toURI().toURL()
    autoPlay: true
    The video can be played within JavaFx gui, but when i move my mouse cursor into the control bar of the JMF player, the video window will move at the same time.
    Does anyone have an idea how I can get JMF working normally within JavaFx?

    Reposting the [exact same message|http://forums.sun.com/thread.jspa?threadID=5361672] (and still not using the CODE button...) won't help you more...
    Explaining what is the JMF component (and where to find it, etc.) might help a bit more those willing to help.

  • JRE and JavaFX Application

    Is JavaFX Desktop application able to run in a Windows XP machine with only JRE installed?
    If yes, how could I execute an application implemented in JavaFX using the JavaFX command or some else?
    I build a jar package and I would like to delivery to my client just this jar and a batch file to run this application.
    Thanks,
    André Rezende

    If you want to run a javafx program or a java program with javafx GUI you need the javafx runtime, the easiest way is to install javafx in the client, if this is a problem, you can include the javafx runtime in your application and include it in the classpath

  • JavaFX to jdbc

    hi,
    Is it possible to connect javafx to database(Oracle)?? if so please provide an example.
    Edited by: sidhu_sid on Jun 5, 2012 1:36 AM

    sidhu_sid wrote:
    well, i have so far used java awt/swing and jdbc and made a stand-alone application, now i found javafx GUI components are better than awt/swing components . so, i want to implement the same using javafx. am i going in a correct way?If you are a swing dev then you would probably find javafx something new cool graphics but I still do think Swing is far more customizable in the view of programmer. However the javafx is somehow still limited (early stage) . The application development of the JavaFX is slightly different than on Swing. JavaFX contains CSS, FXML for designing part which can be little bit awful to code if you are of swing geeks. But in overall I like the new JavaFX way of making our application RIA. Day by day new features are being added in the JavaFX and they are released in bundled. So I think you are absolutely in right way.
    Also for your database stuffs you can have a look atDataFX which can be quiet good for you.
    Thanks
    Narayan

  • System-wide freeze when Time Machine begins back up - Mac Pro 10.7.5

    I  have recently upgraded my MacPro Intel Early 2008 to Lion 10.7.5 on an external drive. Overall this nice fresh install has been working very well. The problem is that every 2 hours Time Machine starts its automatic back up and then ...
    A) Music playing on Spotify stops
    B) Curser freezes
    C) Application switching freezes
    D) Current app stops working
    This freeze typically lasts about 15 to 30 seconds, or until the small incremental back up is finished.
    I have verified the cause using the Console and reading the activity. I read the log 4 times yesterday (it has been doing this since I upgraded a week ago) to confirm this activity. Usually the log reports the begin and finish of the backup with no activity in between, but in the freeze I just had there was activity in the middle relating to Spotify. That most recent log is shown below. For the record, nearly all of the log activity is something to do with Spotify unless I am doing some other system level process.
    I have studied other threads, but the symptoms don't really match those, or I don't have the same suspect apps installed. I have run Disk Utility and Disk Warrior on the Time Machine internal drive, and it appears ok. In energy settings the hard drive disks are NOT set to sleep when possible, but the computer will sleep after an hour of inactivity.
    My Time Machine is getting large and using some 90% of the disc. I think I need to redo it because the old (10.5.8 & 10.6) and new system (10.7) inadvertantly wrote to the same TM backup. Thoughts on that?
    Here is the last freeze (I truncated the IP addresses) ...  and thanks, I appreciate your help. L
    7/12/13 10:54:14.857 AM [0x0-0x1c01c].com.spotify.client: 14:54 I [audio_streamer.cpp:538     
    ] 64k-Latency: 2 ms. Play latency: 484 ms (ap)
    7/12/13 10:58:35.743 AM com.apple.backupd: Starting standard backup
    7/12/13 10:58:35.771 AM com.apple.backupd: Backing up to: /Volumes/Mac Pro Time Machine/Backups.backupdb
    7/12/13 10:58:44.850 AM com.apple.backupd: 6.00 GB required (including padding), 99.59 GB available
    7/12/13 10:59:02.068 AM [0x0-0x1c01c].com.spotify.client: 14:59 E [watchdog.cpp:171           
    ] Deadlock detected (Thread: gui)
    7/12/13 10:59:07.386 AM [0x0-0x1c01c].com.spotify.client: 14:59 E [watchdog.cpp:191           
    ] The deadlock was a lie! (gui, 10533)
    7/12/13 10:59:09.749 AM Firewall: Allow Spotify connecting from 64.55:9907 to port 64429 proto=6
    7/12/13 10:59:11.619 AM [0x0-0x1c01c].com.spotify.client: 14:59 E [watchdog.cpp:171           
    ] Deadlock detected (Thread: gui)
    7/12/13 10:59:12.739 AM [0x0-0x1c01c].com.spotify.client: 14:59 E [watchdog.cpp:191           
    ] The deadlock was a lie! (gui, 5120)
    7/12/13 10:59:16.753 AM Firewall: Allow Spotify connecting from 184.17:65289 to port 64429 proto=6
    7/12/13 10:59:16.764 AM Firewall: Allow Spotify connecting from 74.40.0:50925 to port 64429 proto=6
    7/12/13 10:59:16.765 AM Firewall: Allow Spotify connecting from 68.41:58285 to port 64429 proto=6
    7/12/13 10:59:16.766 AM Firewall: Allow Spotify connecting from 216.23.:1526 to port 64429 proto=6
    7/12/13 10:59:16.807 AM Firewall: Allow Spotify connecting from 108.2:59770 to port 64429 proto=6
    7/12/13 10:59:16.959 AM Firewall: Allow Spotify connecting from 64.203:62864 to port 64429 proto=6
    7/12/13 10:59:16.967 AM Firewall: Allow Spotify connecting from 12.1747:3148 to port 64429 proto=6
    7/12/13 10:59:16.986 AM Firewall: Allow Spotify connecting from 76.97.:52319 to port 64429 proto=6
    7/12/13 10:59:16.997 AM Firewall: Allow Spotify connecting from 70.114:60921 to port 64429 proto=6
    7/12/13 10:59:17.020 AM Firewall: Allow Spotify connecting from 66.214:62861 to port 64429 proto=6
    7/12/13 10:59:46.808 AM [0x0-0x1c01c].com.spotify.client: 14:59 I [audio_streamer.cpp:538     
    ] 64k-Latency: 2 ms. Play latency: 31 ms (ap)
    7/12/13 11:00:03.592 AM [0x0-0x13013].com.stclairsoft.DefaultFolderX.helper: DFX: Finder query returned error -1701
    7/12/13 11:00:12.784 AM Firewall: Allow Spotify connecting from 76.14.156.134:55682 to port 64429 proto=6
    7/12/13 11:00:32.831 AM [0x0-0x3a03a].org.mozilla.firefox: NOTE: child process received `Goodbye', closing down
    7/12/13 11:00:58.261 AM com.apple.backupd: Copied 2527 files (130.0 MB) from volume OSX Upgrades HD.
    7/12/13 11:00:58.779 AM com.apple.backupd: 5.85 GB required (including padding), 99.46 GB available
    7/12/13 11:01:04.028 AM com.apple.backupd: Copied 1265 files (2.3 MB) from volume OSX Upgrades HD.
    7/12/13 11:01:05.428 AM mds: (Error) Volume: Could not find requested backup type:2 for volume
    7/12/13 11:01:05.429 AM com.apple.backupd: Starting post-backup thinning
    7/12/13 11:01:05.429 AM com.apple.backupd: No post-back up thinning needed: no expired backups exist
    7/12/13 11:01:05.771 AM com.apple.backupd: Backup completed successfully.

    Hi Hatter - thanks for the info, interesting. When making these upgrades, which I resisted for as long as possible, I needed to make it as quick and painless, with "minimal" disruption in my work. It still took three weeks to plan and execute, plus it has been a week of fiddling - that is a lot of time to devote to computer maintenance. I kept the original system as a back-up in case things really went south. Also I need 10.5 because I have several active legacy client web sites in GoLive CS2, which I tried in 10.6, but it did not run well.
    I agree that doing things off the internal drives is faster to operate, but my approach was prudent. Later I can swap those around. My external 10.7 drive is a WD My Passport Studio, and has had no problems (except the sucker runs pretty hot). I considered the SSD but the price is still high: NewEgg, internal 500GB regular drive today is $60 - 75, 500GB SSD is $340-370. That is a pretty big difference in a small business. I am maxed out on RAM, so that helps a lot.
    One last thing though, for the Adobe Creative Suite the scratch discs are the internal drives, so it still runs fast in that sense. Fast is relative ya know, I remember programs taking 40 and 50 seconds to launch, now Photoshop is 19, barely time to drink some coffee.
    I have bought a number of UPS over the years, including replacement batteries. It has been expensive frustration, because in a real emergency they seldom do what they promise. In Colorado there are big thunderstorms every summer, and I field tested them a number of times - but was never happy with the protection. Dollar for dollar, investing in a whole house (or whole office) surge arrester at the main utility panel offers protection for the equipment, with about the same amount of time to save your work (which in reality is about 1 second).
    I had a ton of connection issues with Spotify working in 10.5, but I am happy to say those have completely gone away with this upgrade. I also like many of the refinements in Lion, such as the improved System Profiler.
    Linc, I will will take a look at your suggestion, it is a little vaque. Am I looking for a perticular result ? I don't want to operate for too long with the firewall off.
    I think my first step is getting the Time Machine figured out, that could be the whole issue.
    Thanks guys for the input -- it is appreciated. L

  • Java FX Form Problems

    I've recently delved into JavaFX as a C# developer. One thing I noticed in Java is that you're not spoon fed the way Visual Studio/Microsoft spoonfeed us.
    So. When I was creating a form using the scene builder for IntelliJ Idea on JavaFX. I inherited "Stage" for my controller class and created a void called load that will load the instance of the scene from the FXML file. Therefore when I call load() from the Main entry point or anywhere it will load the fxml file and show.
    [code]
        LoginController frmLogin = new LoginController();
        frmLogin.load();
    [/code]
    The problem is that it works and it does't work.
    Here's my code.
    Main.Java
    [code]
        public class Main extends Application
            @Override
            public void start(Stage primaryStage) throws Exception
               LoginController frmLogin = new LoginController();
               frmLogin.load();
            public static void main(String[] args)
                Application.launch(args);
    [/code]
    Here's my LoginController.Java
    [code]
        public class LoginController extends Stage
            @FXML
            private TextField txtUsername;
            @FXML
            private TextField txtPassword;
            @FXML
            private void btnLogin_Clicked(ActionEvent e) throws Exception
                if (txtUsername.getText().equals("admin") && txtPassword.getText().equals("pass"))
                    Messagebox.Show("Correct Login!");
                    this.show(); //The problem occurs here!
                else
                    Messagebox.Show("Incorrect Login");
            public void load() throws Exception
                Parent root = FXMLLoader.load(getClass().getResource("frmLogin.fxml"));
                this.setScene(new Scene(root));
                this.setTitle("JavaFX GUI");
                this.setResizable(false);
                this.initModality(Modality.APPLICATION_MODAL);
                this.show();
    [/code]
    Here's a GIF of the problem.
    http://i.imgur.com/0hOG76M.gif
    I want to know why when I call .show() it shows a blank for?
    Any help would be appreicated.

    See also:
    http://stackoverflow.com/questions/29222262/java-form-problems

  • Newline problem in Textbox

    Hi,
    Sorry if my question sounds pretty noobish since I am new to JavaFX. I have a problem with inserting newline into JavaFX's textbox (with multi-lines allowed). I realize that JavaFX's textbox keeps replacing the newline character '\n' with a blank space. Is there anyway I can insert newline into the textbox? Perhaps JavaFX uses a different newline character for its textbox?
    Thanks.

    Hmm... this is weird. I am also on Windows machine (Vista) by the way.
    I tried your code and it works, but somehow with my code it does not work. I copy-pasted my TextBox settings to your code and it still works, but my code somehow still does not work. It's weird. Perhaps Netbeans JavaFX GUI designer added something "extra" there. I will shift through my code, and post the stripped down version here later.
    Meanwhile, I found this JavaFX API documentation http://download.oracle.com/docs/cd/E17802_01/javafx/javafx/1.3/docs/api/javafx.scene.control/javafx.scene.control.TextBox.html, and look at the explanation under the textbox.text variable (click the arrow head). It mentions "The text value of this TextInput. This is updated when the user commits (on desktop, this is typically after focus lost or an ENTER press). *_New line characters ("\n") in the text will be replaced with space characters._*" It exactly describes my problem. But I don't understand why the newline character work with your code though.

  • Consistent Hang

    I am getting a consistent hang. I have a connection open, I am typing a sqlstatement into the worksheet and everyting stops completely.
    1.5.3 on Xp Pro,
    CVS Version (External)     (CVSNT) 2.5.03 (Scorpio) Build 2382 (client/server)
    Java(TM) Platform     1.6.0_07
    Oracle IDE     1.5.3.57.83
    Versioning Support     1.5.3.57.83
    Thread dump
    Full thread dump Java HotSpot(TM) Client VM (10.0-b23 mixed mode):
    "pool-2-thread-1" prio=6 tid=0x03a76800 nid=0x84 waiting on condition [0x06f3f000..0x06f3fa94]
       java.lang.Thread.State: WAITING (parking)
            at sun.misc.Unsafe.park(Native Method)
            - parking to wait for  <0x13e355d8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
            at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
            at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358)
            at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:946)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:906)
            at java.lang.Thread.run(Thread.java:619)
    "IconOverlayTracker Timer" prio=6 tid=0x04bbc400 nid=0xca4 in Object.wait() [0x06e3f000..0x06e3fb14]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.Object.wait(Object.java:485)
            at java.util.TimerThread.mainLoop(Timer.java:483)
            - locked <0x13e35710> (a java.util.TaskQueue)
            at java.util.TimerThread.run(Timer.java:462)
    "Timer-2" prio=6 tid=0x04bc7c00 nid=0xf40 in Object.wait() [0x06d3f000..0x06d3fb94]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.Object.wait(Object.java:485)
            at java.util.TimerThread.mainLoop(Timer.java:483)
            - locked <0x13e35790> (a java.util.TaskQueue)
            at java.util.TimerThread.run(Timer.java:462)
    "TextBufferScavenger" prio=6 tid=0x048cb800 nid=0x498 in Object.wait() [0x0693f000..0x0693fd14]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
            - locked <0x13a1ccd8> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
            at oracle.ide.model.TextNode$FacadeBufferReference$PollingThread.run(TextNode.java:1886)
    "Native Directory Watcher" prio=2 tid=0x03928c00 nid=0xdc8 runnable [0x059cf000..0x059cfa14]
       java.lang.Thread.State: RUNNABLE
            at oracle.ide.natives.NativeHandler.enterWatcherThread(Native Method)
            at oracle.ide.natives.NativeHandler$2.run(NativeHandler.java:252)
            at java.lang.Thread.run(Thread.java:619)
    "Swing-Shell" daemon prio=6 tid=0x049fb800 nid=0xd70 waiting on condition [0x05acf000..0x05acfa94]
       java.lang.Thread.State: WAITING (parking)
            at sun.misc.Unsafe.park(Native Method)
            - parking to wait for  <0x130ec738> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
            at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
            at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358)
            at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:946)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:906)
            at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Win32ShellFolderManager2.java:458)
            at java.lang.Thread.run(Thread.java:619)
    "IconOverlayTracker Timer" prio=6 tid=0x0457a400 nid=0xee8 in Object.wait() [0x058cf000..0x058cfb94]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.Object.wait(Object.java:485)
            at java.util.TimerThread.mainLoop(Timer.java:483)
            - locked <0x1300fca0> (a java.util.TaskQueue)
            at java.util.TimerThread.run(Timer.java:462)
    "IconOverlayTracker Timer" prio=6 tid=0x0482dc00 nid=0xc2c in Object.wait() [0x056cf000..0x056cfc14]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.Object.wait(Object.java:485)
            at java.util.TimerThread.mainLoop(Timer.java:483)
            - locked <0x1300f728> (a java.util.TaskQueue)
            at java.util.TimerThread.run(Timer.java:462)
    "Meter Updater" prio=6 tid=0x04497800 nid=0xb04 waiting on condition [0x055cf000..0x055cfd14]
       java.lang.Thread.State: TIMED_WAITING (sleeping)
            at java.lang.Thread.sleep(Native Method)
            at elephant.insider.view.impl.MeterUpdater$Updater.run(MeterUpdater.java:131)
            at java.lang.Thread.run(Thread.java:619)
    "Meter Dispatcher" prio=6 tid=0x04497000 nid=0xbb0 waiting on condition [0x054cf000..0x054cfd94]
       java.lang.Thread.State: TIMED_WAITING (sleeping)
            at java.lang.Thread.sleep(Native Method)
            at elephant.insider.view.impl.MeterUpdater$Dispatcher.run(MeterUpdater.java:282)
            at java.lang.Thread.run(Thread.java:619)
    "Adapter Monitor" prio=6 tid=0x0455f400 nid=0xc5c waiting on condition [0x053cf000..0x053cfa14]
       java.lang.Thread.State: TIMED_WAITING (parking)
            at sun.misc.Unsafe.park(Native Method)
            - parking to wait for  <0x12dd0ca0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
            at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
            at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:395)
            at elephant.insider.server.monitor.impl.AdapterMonitorImpl$Monitor.run(AdapterMonitorImpl.java:247)
            at java.lang.Thread.run(Thread.java:619)
    "TimerQueue" daemon prio=6 tid=0x03b25400 nid=0x854 in Object.wait() [0x0446f000..0x0446fb14]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at javax.swing.TimerQueue.run(TimerQueue.java:236)
            - locked <0x1281d380> (a javax.swing.TimerQueue)
            at java.lang.Thread.run(Thread.java:619)
    "AWT-EventQueue-0" prio=6 tid=0x03ab8800 nid=0xea4 runnable [0x042bf000..0x042bfb94]
       java.lang.Thread.State: RUNNABLE
            at java.net.SocketInputStream.socketRead0(Native Method)
            at java.net.SocketInputStream.read(SocketInputStream.java:129)
            at oracle.net.ns.Packet.receive(Unknown Source)
            at oracle.net.ns.DataPacket.receive(Unknown Source)
            at oracle.net.ns.NetInputStream.getNextPacket(Unknown Source)
            at oracle.net.ns.NetInputStream.read(Unknown Source)
            at oracle.net.ns.NetInputStream.read(Unknown Source)
            at oracle.net.ns.NetInputStream.read(Unknown Source)
            at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1099)
            at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1070)
            at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:478)
            at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:213)
            at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:796)
            at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1031)
            at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:836)
            at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1124)
            at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
            at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3329)
            - locked <0x104f5820> (a oracle.jdbc.driver.T4CPreparedStatement)
            - locked <0x140ce730> (a oracle.jdbc.driver.T4CConnection)
            at oracle.dbtools.raptor.insight.InsightableOracleDatabase.fetch(InsightableOracleDatabase.java:512)
            at oracle.dbtools.raptor.insight.CompletionInsight.getInsightData(CompletionInsight.java:501)
            at oracle.javatools.editor.insight.AbstractInsight.showInsight(AbstractInsight.java:781)
            at oracle.javatools.editor.insight.AbstractInsight.showInsight(AbstractInsight.java:706)
            at oracle.javatools.editor.insight.AbstractInsight.actionPerformed(AbstractInsight.java:501)
            at javax.swing.Timer.fireActionPerformed(Timer.java:271)
            at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    "AWT-Windows" daemon prio=6 tid=0x03ab2000 nid=0xfd0 runnable [0x040bf000..0x040bfc94]
       java.lang.Thread.State: RUNNABLE
            at sun.awt.windows.WToolkit.eventLoop(Native Method)
            at sun.awt.windows.WToolkit.run(WToolkit.java:290)
            at java.lang.Thread.run(Thread.java:619)
    "AWT-Shutdown" prio=6 tid=0x03aac800 nid=0xbec in Object.wait() [0x03fbf000..0x03fbfd14]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.Object.wait(Object.java:485)
            at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
            - locked <0x127b9a78> (a java.lang.Object)
            at java.lang.Thread.run(Thread.java:619)
    "Java2D Disposer" daemon prio=6 tid=0x03aaac00 nid=0x618 in Object.wait() [0x03ebf000..0x03ebfd94]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
            - locked <0x1281d5c8> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
            at sun.java2d.Disposer.run(Disposer.java:125)
            at java.lang.Thread.run(Thread.java:619)
    "Low Memory Detector" daemon prio=6 tid=0x00ea0400 nid=0x478 runnable [0x00000000..0x00000000]
       java.lang.Thread.State: RUNNABLE
    "CompilerThread0" daemon prio=6 tid=0x00e9b000 nid=0xf2c waiting on condition [0x00000000..0x035bf7bc]
       java.lang.Thread.State: RUNNABLE
    "Attach Listener" daemon prio=6 tid=0x00e99c00 nid=0xadc runnable [0x00000000..0x00000000]
       java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=6 tid=0x00e98c00 nid=0xf3c waiting on condition [0x00000000..0x00000000]
       java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=8 tid=0x00e89800 nid=0x1d8 in Object.wait() [0x032bf000..0x032bfc94]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
            - locked <0x12780298> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
            at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=6 tid=0x00e85400 nid=0xdf8 in Object.wait() [0x031bf000..0x031bfd14]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.Object.wait(Object.java:485)
            at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
            - locked <0x12780320> (a java.lang.ref.Reference$Lock)
    "main" prio=6 tid=0x00926400 nid=0xf80 waiting on condition [0x00000000..0x0012fb3c]
       java.lang.Thread.State: RUNNABLE
    "VM Thread" prio=6 tid=0x00e82400 nid=0x1e0 runnable
    "VM Periodic Task Thread" prio=6 tid=0x00eb3800 nid=0xef8 waiting on condition
    JNI global references: 2245
    Heap
    def new generation   total 4928K, used 2478K [0x10020000, 0x10570000, 0x12780000)
      eden space 4416K,  49% used [0x10020000, 0x10246f00, 0x10470000)
      from space 512K,  53% used [0x104f0000, 0x105349b0, 0x10570000)
      to   space 512K,   0% used [0x10470000, 0x10470000, 0x104f0000)
    tenured generation   total 64456K, used 53602K [0x12780000, 0x16672000, 0x30020000)
       the space 64456K,  83% used [0x12780000, 0x15bd8b60, 0x15bd8c00, 0x16672000)
    compacting perm gen  total 44032K, used 43441K [0x30020000, 0x32b20000, 0x38020000)
       the space 44032K,  98% used [0x30020000, 0x32a8c5d0, 0x32a8c600, 0x32b20000)
    No shared spaces configured.

    Does not looks like that there is a deadlock.
    The GUI Thread ("AWT-EventQueue-0") is waiting for a JDBC operation to complete.
    This is happening from the code insight.
    Try these :
    - ensure that the connection is not busy when you type in the worksheet. Close any results grids / datatab you have open.
    - if this does not help, switch off the code insight.
    Let me know what happens after this.
    -Raghu

Maybe you are looking for

  • Preparing to Upgrade to LiveCycle ES from 7.x document error: page 85

    Preparing to Upgrade to LiveCycle® ES from 7.x document error: page 85, when configuring the JMS with Microsoft SQL Server 2005 for JBoss 4.0.3 SP1. Step 5: Modifiy <local-tx datasource> element .....   <connection-url> jdbc:microsoft.sqlserver .....

  • I incorrectly deleted CC versions and now Updater wants to update both CC and CC 2014 versions of apps

    Hi, I figured I could just delete the previous versions of InDesign, Illustrator and Photoshop by dragging them to the trash but Updater seems to think they're still installed. I keep getting notifications that updates are available for these apps. H

  • Upgrade from trial cs6

    Hi I've downloaded and installed a trial version of CS6 Design & Web Premium on my iMac I subsequently purchased a license and now wish to enter the keycode to activate the full version. Can you tell me where i do this? Thanks

  • Java 1.5 for Mac OS X 10.3.9

    Hi, I have a program that requires Java 1.5. I have a Power MAC with Mac OS X 10.3.9, and I have not been able to find a way to update my Java to 1.5. The highest I can find is 1.4. Does anyone know where I could find the download to update my Mac to

  • Autofill is not working with Safari version 7.1.

    Safari Version 7.1 that I just updated on a MacBook will no longer allow Autofill of a User Name and Password on several sites that was working before this update.  It also stopped working on my Mac when I updated to Safari Version 7.1 over a week ag