NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

TopComponent not running

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
ruperty



Joined: 06 Jul 2014
Posts: 21

PostPosted: Tue Mar 07, 2017 9:21 am    Post subject: TopComponent not running Reply with quote

I have a Netbeans platform project which runs fine when initiated from the Netbeans IDE, but when I export the package as a windows installer, install that and run the installed application what comes up is a blank screen, see attachment screen.png.

Any ideas why the application is not running? Here's the IDE log:


Quote:
>Log Session: Tuesday, March 7, 2017 8:55:38 AM GMT
>System Info:
Product Version = PCTMonitor 201510222201
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.8.0_121; Java HotSpot(TM) Server VM 25.121-b13; Oracle Corporation
Runtime = Java(TM) SE Runtime Environment 1.8.0_121-b13
Java Home = C:\Program Files (x86)\Java\jdk1.8.0_121\jre
System Locale; Encoding = en_GB (pctmonitor); Cp1252
Home Directory = C:\Users\ReStart
Current Directory = C:\Program Files\pctmonitor
User Directory = C:\Users\ReStart\AppData\Roaming\.pctmonitor\dev
Cache Directory = C:\Users\ReStart\AppData\Roaming\.pctmonitor\dev\var\cache
Installation = C:\Program Files\pctmonitor\pctmonitor
C:\Program Files\pctmonitor\ide
C:\Program Files\pctmonitor\java
C:\Program Files\pctmonitor\platform
Boot & Ext. Classpath = C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\rt.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\jfr.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\classes;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\access-bridge-32.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\cldrdata.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\dnsns.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\jaccess.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\jfxrt.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\localedata.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\nashorn.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\sunec.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\sunjce_provider.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\sunmscapi.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\sunpkcs11.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\zipfs.jar
Application Classpath = C:\Program Files\pctmonitor\platform\lib\boot.jar;C:\Program Files\pctmonitor\platform\lib\org-openide-modules.jar;C:\Program Files\pctmonitor\platform\lib\org-openide-util-lookup.jar;C:\Program Files\pctmonitor\platform\lib\org-openide-util-ui.jar;C:\Program Files\pctmonitor\platform\lib\org-openide-util.jar;C:\Program Files\pctmonitor\platform\lib\locale\boot_ja.jar;C:\Program Files\pctmonitor\platform\lib\locale\boot_pt_BR.jar;C:\Program Files\pctmonitor\platform\lib\locale\boot_ru.jar;C:\Program Files\pctmonitor\platform\lib\locale\boot_zh_CN.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-modules_ja.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-modules_pt_BR.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-modules_ru.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-modules_zh_CN.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util-lookup_ja.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util-lookup_pt_BR.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util-lookup_ru.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util-lookup_zh_CN.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util-ui_ja.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util-ui_pt_BR.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util-ui_ru.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util-ui_zh_CN.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util_ja.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util_pt_BR.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util_ru.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util_zh_CN.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\lib\dt.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\lib\tools.jar
Startup Classpath = C:\Program Files\pctmonitor\platform\core\asm-all-5.0.1.jar;C:\Program Files\pctmonitor\platform\core\core-base.jar;C:\Program Files\pctmonitor\platform\core\core.jar;C:\Program Files\pctmonitor\platform\core\org-netbeans-libs-asm.jar;C:\Program Files\pctmonitor\platform\core\org-openide-filesystems-compat8.jar;C:\Program Files\pctmonitor\platform\core\org-openide-filesystems.jar;C:\Program Files\pctmonitor\platform\core\locale\core-base_ja.jar;C:\Program Files\pctmonitor\platform\core\locale\core-base_pt_BR.jar;C:\Program Files\pctmonitor\platform\core\locale\core-base_ru.jar;C:\Program Files\pctmonitor\platform\core\locale\core-base_zh_CN.jar;C:\Program Files\pctmonitor\platform\core\locale\core_ja.jar;C:\Program Files\pctmonitor\platform\core\locale\core_pt_BR.jar;C:\Program Files\pctmonitor\platform\core\locale\core_ru.jar;C:\Program Files\pctmonitor\platform\core\locale\core_zh_CN.jar;C:\Program Files\pctmonitor\platform\core\locale\org-netbeans-libs-asm_ja.jar;C:\Program Files\pctmonitor\platform\core\locale\org-netbeans-libs-asm_pt_BR.jar;C:\Program Files\pctmonitor\platform\core\locale\org-netbeans-libs-asm_ru.jar;C:\Program Files\pctmonitor\platform\core\locale\org-netbeans-libs-asm_zh_CN.jar;C:\Program Files\pctmonitor\platform\core\locale\org-openide-filesystems-compat8_ja.jar;C:\Program Files\pctmonitor\platform\core\locale\org-openide-filesystems-compat8_pt_BR.jar;C:\Program Files\pctmonitor\platform\core\locale\org-openide-filesystems-compat8_ru.jar;C:\Program Files\pctmonitor\platform\core\locale\org-openide-filesystems-compat8_zh_CN.jar;C:\Program Files\pctmonitor\platform\core\locale\org-openide-filesystems_ja.jar;C:\Program Files\pctmonitor\platform\core\locale\org-openide-filesystems_pt_BR.jar;C:\Program Files\pctmonitor\platform\core\locale\org-openide-filesystems_ru.jar;C:\Program Files\pctmonitor\platform\core\locale\org-openide-filesystems_zh_CN.jar;C:\Program Files\pctmonitor\pctmonitor\core\locale\core_pctmonitor.jar
-------------------------------------------------------------------------------
INFO [org.netbeans.modules.netbinox]: Install area set to file:/C:/Program Files/pctmonitor/
WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.java.editor.lib, org.netbeans.modules.xml.text] use org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated.
WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use org.netbeans.modules.editor.structure which is deprecated.
WARNING [org.netbeans.JarClassLoader]: Opening C:\Program Files\pctmonitor\platform\modules\ext\felix-4.2.1.jar took 620 ms
WARNING [org.netbeans.JarClassLoader]: Opening C:\Program Files\pctmonitor\platform\modules\org-openide-execution.jar took 727 ms
WARNING [org.netbeans.JarClassLoader]: Opening C:\Program Files\pctmonitor\ide\modules\org-netbeans-core-ide.jar took 515 ms
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
org.openide.util.lookup [8.32.1 201510222201]
org.openide.util [9.5.1 201510222201]
org.openide.util.ui [9.4.1 201510222201]
org.openide.modules [7.47.1 201510222201]
org.netbeans.api.annotations.common/1 [1.26.1 201510222201]
org.openide.filesystems [9.8.1 201510222201]
org.openide.awt [7.65.1 201510222201]
org.netbeans.api.progress/1 [1.46.1 201510222201]
org.netbeans.api.progress.nb [1.46.1 201510222201]
org.openide.dialogs [7.41.1 201510222201]
org.openide.nodes [7.42.1 201510222201]
org.openide.windows [6.74.1 201510222201]
org.netbeans.modules.editor.mimelookup/1 [1.39.1 201510222201]
org.openide.text [6.66.3 201512151638]
org.netbeans.swing.tabcontrol [1.54.1 201510222201]
org.netbeans.swing.outline [1.32.1 201510222201]
org.openide.explorer [6.61.1 201510222201]
org.openide.actions [6.38.1 201510222201]
org.netbeans.modules.queries/1 [1.42.1 201510222201]
org.netbeans.api.templates [1.6.1 201510222201]
org.openide.filesystems.nb [9.7.1 201510222201]
org.openide.loaders [7.63.2 201512151638]
org.netbeans.api.intent [1.1.1 201510222201]
org.netbeans.api.io [1.2.1 201510222201]
org.openide.io [1.48.1 201510222201]
org.openide.filesystems.compat8 [9.7.1 201510222201]
org.openide.execution [9.2.1 201510222201]
org.netbeans.swing.plaf [1.40.1 201510222201]
org.netbeans.modules.projectapi/1 [1.65.2 201601300101]
org.netbeans.swing.dirchooser [1.28.1 201510222201]
org.netbeans.spi.tasklist/1 [1.33.1.1 1 201510222201]
org.netbeans.spi.quicksearch [1.26.1 201510222201]
org.netbeans.spi.palette/1 [1.45.1 201510222201]
org.netbeans.spi.navigator/1 [1.36.1 201510222201]
org.netbeans.modules.editor.util/1 [1.61.1 201510222201]
org.netbeans.modules.editor.settings.lib [1.50.1.1 1 201510222201]
org.netbeans.modules.editor.settings/1 [1.55.1 201510222201]
org.netbeans.modules.lexer/2 [1.62.1.1 1 201510222201]
org.netbeans.modules.editor.fold/1 [1.43.1 201510222201]
org.netbeans.modules.editor.document [1.5.1.1 1 201510222201]
org.netbeans.modules.editor.lib2/1 [2.4.1.44.1 44 201510222201]
org.netbeans.modules.editor.guards/1 [1.31.1 201510222201]
org.netbeans.modules.editor.indent/2 [1.42.1 201510222201]
org.netbeans.modules.editor.lib/3 [4.3.1.22.1.44 22 201510222201]
org.netbeans.modules.keyring [1.23.1 201510222201]
org.netbeans.libs.asm [5.2.1 201510222201]
org.netbeans.bootstrap/1 [2.74.1 201510222201]
org.netbeans.core.startup.base [1.61.1.1 1 201510222201]
org.netbeans.core.startup/1 [1.61.1.1 201510222201]
org.netbeans.modules.sampler [1.13.1 201510222201]
org.netbeans.core/2 [3.49.1 201510222201]
org.netbeans.modules.options.api/1 [1.44.1 201510222201]
org.netbeans.modules.options.keymap [1.36.1 201510222201]
org.netbeans.modules.editor.settings.storage/1 [1.50.1.1 201510222201]
org.netbeans.modules.editor.fold.nbui [1.11.1.44 201510222201]
org.netbeans.modules.editor/3 [1.84.1.5.1.22.44 5 201510222201]
org.netbeans.libs.javacapi [8.13.1.3 3 201510222201]
org.netbeans.libs.javacimpl/1 [0.40.1.25 25 201510222201]
org.netbeans.lib.nbjavac [1.15.1.2.25 2 201510222201]
org.netbeans.modules.editor.errorstripe.api/1 [2.31.1.1 1 201510222201]
org.netbeans.api.java.classpath/1 [1.50.1 201510222201]
org.netbeans.api.java/1 [1.58.1 201510222201]
org.netbeans.modules.java.platform/1 [1.39.1 201510222201]
org.netbeans.modules.options.editor/1 [1.55.1 201510222201]
org.netbeans.modules.editor.errorstripe/2 [2.33.1.1.1 1 201510222201]
org.netbeans.modules.diff/1 [1.50.1.42.1 42 201510222201]
org.netbeans.libs.lucene/3 [3.18.1 201510222201]
org.netbeans.modules.masterfs/2 [2.54.1.2 2 201510222201]
org.netbeans.modules.parsing.lucene/2 [2.34.1.1 1 201510222201]
org.netbeans.modules.parsing.api/1 [9.5.1.8 8 201510222201]
org.netbeans.modules.projectuiapi.base/1 [1.83.1.9 9 201510222201]
org.netbeans.modules.project.indexingbridge [1.16.1 201510222201]
org.netbeans.modules.parsing.indexing [9.7.2.1.1.8 1 201601300101]
org.netbeans.modules.refactoring.api [1.45.1.1 1 201510222201]
org.netbeans.modules.classfile/1 [1.47.1 201510222201]
org.netbeans.modules.editor.indent.support [1.41.1 201510222201]
org.netbeans.modules.projectuiapi/1 [1.86.1.8 8 201510222201]
org.netbeans.modules.editor.indent.project/0 [1.21.1 201510222201]
org.netbeans.core.multiview/1 [1.43.1 201510222201]
org.netbeans.modules.java.lexer/1 [1.30.1 201510222201]
org.netbeans.modules.java.preprocessorbridge [1.38.1.1 1 201510222201]
org.netbeans.modules.java.source.base [2.9.1.2.2.25.8.1 2 201510222201]
org.netbeans.modules.java.source [0.149.1.32.2.25.2.1 32 201510222201]
org.netbeans.modules.project.spi.intern [1.2.1 201510222201]
org.netbeans.modules.project.libraries/1 [1.52.1 201510222201]
org.apache.xml.resolver [1.30.1.12 12 201510222201]
org.netbeans.api.xml/1 [1.43.1 201510222201]
org.netbeans.modules.xml.catalog/2 [3.2.1.4 4 201510222201]
org.netbeans.modules.project.ant/1 [1.64.1 201510222201]
org.netbeans.modules.java.project/1 [1.64.1 201510222201]
org.netbeans.modules.settings/1 [1.48.1 201510222201]
org.netbeans.spi.editor.hints/0 [1.39.1.7.44 7 201510222201]
org.netbeans.modules.autoupdate.services [1.51.1 201510222201]
org.netbeans.modules.autoupdate.ui [1.44.1 201510222201]
org.netbeans.core.windows/2 [2.80.1 201510222201]
org.netbeans.modules.code.analysis/0 [1.24.1 201510222201]
org.netbeans.spi.java.hints [1.27.1.13.2.25.32.2.8 13 201510222201]
org.netbeans.modules.editor.tools.storage [1.7.1 201510222201]
org.netbeans.spi.editor.hints.projects [1.10.1.1.7 1 201510222201]
org.netbeans.modules.xml.core/2 [1.42.1.4 4 201510222201]
org.netbeans.modules.xml.xam/1 [1.31.1.1 1 201510222201]
org.netbeans.api.xml.ui/1 [1.43.1 201510222201]
org.netbeans.modules.xml.retriever/1 [1.30.1 201510222201]
org.netbeans.modules.xml.schema.model/1 [1.31.1.1 1 201510222201]
org.netbeans.modules.xml.axi [1.30.1 201510222201]
org.netbeans.modules.editor.breadcrumbs/0 [1.16.1 201510222201]
org.netbeans.modules.editor.bracesmatching/0 [1.38.1.44 201510222201]
org.netbeans.modules.editor.deprecated.pre65formatting/0 [1.27.1.1.5.22.44 1 201510222201]
org.netbeans.modules.editor.completion/1 [1.43.1.2 2 201510222201]
org.netbeans.modules.editor.codetemplates/1 [1.41.1.1 1 201510222201]
org.netbeans.modules.editor.actions/1 [1.29.1.44 201510222201]
org.netbeans.core.ui/1 [1.44.1 201510222201]
org.netbeans.api.search [1.20.1 201510222201]
org.netbeans.modules.jumpto/1 [1.51.1.1 1 201510222201]
org.netbeans.modules.csl.api/2 [2.51.2.2.1.1.8.1 2 201601300101]
org.netbeans.modules.editor.structure/1 [1.46.1.1 1 201510222201]
org.netbeans.modules.xml.lexer [1.28.1 201510222201]
org.netbeans.modules.xml.text/2 [1.51.1 201510222201]
org.netbeans.modules.xml [1.30.1 201510222201]
org.netbeans.modules.servletapi/1 [1.38.1 201510222201]
org.netbeans.modules.httpserver/2 [2.35.1.42 42 201510222201]
org.netbeans.modules.xsl/1 [1.42.1 201510222201]
org.netbeans.modules.xml.xdm/1 [1.32.1.1 1 201510222201]
org.netbeans.libs.xerces/1 [1.37.1.281 281 201510222201]
org.netbeans.modules.xml.tax/2 [1.42.1.281 201510222201]
org.netbeans.modules.xml.tools/2 [1.42.1 201510222201]
org.netbeans.modules.xml.tools.java [1.28.1 201510222201]
org.netbeans.modules.xml.schema.completion [1.29.1 201510222201]
org.netbeans.modules.xml.catalog.ui [2.2.1.4 201510222201]
org.netbeans.api.debugger/1 [1.52.1 201510222201]
org.netbeans.libs.json_simple/1 [0.11.1 201510222201]
org.netbeans.modules.web.webkit.debugging [1.50.2 201601300101]
org.netbeans.modules.extexecution.base/2 [1.2.1 201510222201]
org.netbeans.modules.extexecution/2 [1.47.1 201510222201]
org.netbeans.modules.web.common [1.90.2 201601300101]
org.netbeans.modules.web.indent [1.19.1 201510222201]
org.netbeans.modules.extbrowser/1 [1.52.1 201510222201]
org.netbeans.modules.web.browser.api [1.44.1 201510222201]
org.netbeans.modules.versioning.core/1 [1.29.1.1.42 1 201510222201]
org.netbeans.modules.versioning/1 [1.46.1.1 1 201510222201]
org.netbeans.modules.favorites/1 [1.45.1 201510222201]
org.netbeans.modules.spellchecker.apimodule [1.24.1 201510222201]
org.netbeans.modules.versioning.util [1.68.3.42.1 201601300101]
org.netbeans.modules.team.commons [1.47.1 201510222201]
org.netbeans.modules.versioning.ui/1 [1.21.1.42.1 201510222201]
org.netbeans.modules.versioning.system.cvss.installer [1.15.1 201510222201]
org.netbeans.modules.masterfs.ui [2.2.1.2 201510222201]
org.netbeans.modules.versioning.masterfs [1.13.1 201510222201]
org.netbeans.modules.versioning.indexingbridge/0 [1.24.1 201510222201]
org.netbeans.modules.sendopts/2 [2.34.1 201510222201]
org.netbeans.modules.utilities/1 [1.60.1 201510222201]
org.netbeans.modules.utilities.project/1 [1.37.1 201510222201]
org.netbeans.modules.javahelp/1 [2.40.1 201510222201]
org.netbeans.modules.usersguide/1 [1.47.1 201510222201]
org.netbeans.lib.terminalemulator [1.33.2 201512151638]
org.netbeans.modules.terminal [1.24.2 201512151638]
org.netbeans.modules.templates/1 [1.6.1 201510222201]
org.netbeans.libs.swingx/1 [1.26.1 201510222201]
org.netbeans.modules.team.ide [1.12.1 201510222201]
org.netbeans.modules.tasklist.ui/1 [1.30.1.1.1 1 201510222201]
org.netbeans.modules.tasklist.todo/1 [1.30.1.1 1 201510222201]
org.netbeans.modules.tasklist.projectint/1 [1.28.1 201510222201]
org.netbeans.modules.tasklist.kit [1.27.1 201510222201]
org.netbeans.libs.ini4j/1 [1.33.1 201510222201]
org.netbeans.libs.svnClientAdapter/1 [1.39.1 201510222201]
org.netbeans.modules.subversion [1.40.2.42.1 201512151638]
org.netbeans.modules.editor.plain.lib/1 [1.32.1 201510222201]
org.netbeans.modules.spellchecker [1.34.1.1.7 1 201510222201]
org.netbeans.modules.spellchecker.kit [1.24.1 201510222201]
org.netbeans.modules.spellchecker.dictionary_en [1.21.1 201510222201]
org.netbeans.modules.properties/1 [1.53.1 201510222201]
org.netbeans.modules.properties.syntax/1 [1.49.1 201510222201]
org.netbeans.modules.spellchecker.bindings.properties [1.21.1 201510222201]
org.netbeans.modules.java.editor.lib/1 [1.37.1 201510222201]
org.netbeans.modules.spellchecker.bindings.java/1 [1.29.1 201510222201]
org.netbeans.modules.html.lexer/1 [1.37.1 201510222201]
org.netbeans.modules.spellchecker.bindings.htmlxml [1.26.1 201510222201]
org.netbeans.core.ide/1 [1.40.1 201510222201]
org.netbeans.modules.server/0 [1.32.1 201510222201]
org.netbeans.modules.selenium2.server [1.2.1 201510222201]
org.netbeans.modules.gsf.testrunner/2 [2.8.1 201510222201]
org.netbeans.modules.gsf.testrunner.ui [1.9.2 201601300101]
org.netbeans.modules.selenium2 [1.4.1 201510222201]
org.netbeans.modules.java.testrunner [1.18.1 201510222201]
org.netbeans.modules.selenium2.java [1.1.1 201510222201]
org.netbeans.core.execution/1 [1.40.1 201510222201]
org.netbeans.modules.projectui [1.57.2.8.9 201601300101]
org.netbeans.modules.projectapi.nb [1.2.1 201510222201]
org.netbeans.modules.project.spi.intern.impl [1.2.1 201510222201]
org.netbeans.modules.project.libraries.ui/1 [1.51.1 201510222201]
org.netbeans.modules.progress.ui [1.32.1 201510222201]
org.netbeans.modules.print.editor [7.25.1 201510222201]
org.netbeans.modules.print [7.25.1 201510222201]
org.netbeans.modules.parsing.ui [1.13.1.1 201510222201]
org.netbeans.modules.parsing.nb [1.2.1.8.1 201510222201]
org.netbeans.modules.notifications [1.7.1 201510222201]
org.netbeans.libs.osgi [1.20.1 201510222201]
org.netbeans.core.netigso [1.30.1 201510222201]
org.netbeans.modules.netbinox [1.39.1 201510222201]
org.eclipse.mylyn.commons.net [3.10.0 3.10.0.20131018-1210]
org.eclipse.mylyn.tasks.core [3.10.0 3.10.0.20131010-2023]
org.eclipse.core.jobs [3.5.101 3.5.101.v20120113-1953]
org.eclipse.mylyn.wikitext.core [1.9.0 1.9.0.20131007-2055]
org.netbeans.modules.bugtracking [1.108.2 201601300101]
org.eclipse.equinox.common [3.6.0 3.6.0.v20110523]
org.eclipse.core.runtime [3.7.0 3.7.0.v20110110]
org.netbeans.modules.mylyn.util [1.33.1 201510222201]
org.netbeans.modules.mercurial [1.41.2.42.1 201512151638]
org.netbeans.libs.jna/1 [1.41.1 201510222201]
org.netbeans.modules.masterfs.windows [1.15.1 201510222201]
org.netbeans.modules.masterfs.nio2 [1.14.1 201510222201]
org.netbeans.modules.bugtracking.commons [1.7.1 201510222201]
org.netbeans.modules.localtasks [1.24.1 201510222201]
org.netbeans.modules.localhistory [1.33.1 201510222201]
org.netbeans.modules.lexer.nbbridge/1 [1.31.1.1 201510222201]
org.netbeans.libs.bytelist/1 [0.26.1.1 1 201510222201]
org.netbeans.libs.jvyamlb/1 [0.28.1 201510222201]
org.netbeans.modules.languages.yaml [2.31.1 201510222201]
org.netbeans.modules.languages.manifest [1.31.1 201510222201]
org.netbeans.modules.languages.diff [1.32.1 201510222201]
org.netbeans.modules.keyring.fallback [1.7.1 201510222201]
org.netbeans.modules.keyring.impl [1.23.1 201510222201]
org.netbeans.modules.html.editor.lib/3 [3.30.1 201510222201]
org.netbeans.libs.antlr3.runtime [1.20.1.1 1 201510222201]
org.netbeans.modules.css.lib/1 [1.81.1 201510222201]
org.netbeans.modules.css.model [1.30.1 201510222201]
org.netbeans.modules.css.editor/1 [1.66.1 201510222201]
org.netbeans.modules.html/1 [1.60.1 201510222201]
org.netbeans.modules.html.editor/2 [2.53.1 201510222201]
org.netbeans.libs.nashorn/1 [1.18.1 201510222201]
org.netbeans.modules.javascript2.editor/1 [0.68.2 201601300101]
org.netbeans.modules.javascript2.requirejs [0.5.2 201601300101]
org.netbeans.modules.javascript2.prototypejs [0.4.1 201510222201]
org.netbeans.modules.javascript2.nodejs/0 [0.10.1 201510222201]
org.netbeans.modules.javascript2.knockout [1.9.1 201510222201]
org.netbeans.modules.javascript2.extjs [1.8.1 201510222201]
org.netbeans.modules.javascript2.jquery [1.8.1 201510222201]
org.netbeans.modules.javascript2.jade/1 [0.6.1 201510222201]
org.netbeans.modules.javascript2.kit/1 [0.13.1 201510222201]
org.netbeans.modules.javaee.injection [1.5.1 201510222201]
org.netbeans.modules.java.sourceui/1 [1.42.1.1.25.32.2 1 201510222201]
org.netbeans.modules.javadoc/1 [1.53.1 201510222201]
org.netbeans.modules.java.testrunner.ui [1.3.1 201510222201]
org.netbeans.modules.java.platform.ui/1 [1.39.1 201510222201]
org.netbeans.modules.java.navigation/1 [1.38.1 201510222201]
org.netbeans.modules.java.metrics [1.7.1 201510222201]
org.netbeans.modules.java.j2seprofiles [1.7.1 201510222201]
org.netbeans.modules.java.debug [1.37.1.1.25.2 1 201510222201]
org.netbeans.modules.j2ee.metadata/0 [1.31.1 201510222201]
org.netbeans.modules.j2ee.metadata.model.support/1 [1.30.1 201510222201]
org.netbeans.modules.j2ee.persistenceapi/1 [1.33.1.1 1 201510222201]
org.netbeans.modules.j2ee.eclipselinkmodelgen/1 [1.31.1 201510222201]
org.netbeans.modules.image/1 [1.47.1 201510222201]
org.netbeans.core.multitabs/1 [1.11.1.1 1 201510222201]
org.netbeans.modules.editor.bookmarks/1 [1.36.1 201510222201]
com.jcraft.jsch [0.1.53 0.1.53]
org.netbeans.modules.dlight.nativeexecution [1.37.5.1 1 201602060101]
org.netbeans.modules.dlight.terminal [1.22.5.1 1 201602060101]
org.netbeans.core.multitabs.project [1.9.1.1.1 1 201510222201]
org.netbeans.modules.editor.search [1.23.1.0.44 0 201510222201]
org.apache.commons.logging [1.1.1 1.1.1]
org.netbeans.modules.html.parser/1 [1.33.1.1 1 201510222201]
org.netbeans.modules.html.validation/1 [1.29.1 201510222201]
org.netbeans.core.output2/1 [1.40.1 201510222201]
org.netbeans.modules.css.visual/3 [3.30.1 201510222201]
org.netbeans.modules.editor.kit [1.31.1 201510222201]
org.netbeans.modules.autoupdate.cli [1.12.1 201510222201]
org.netbeans.libs.felix [2.14.1 201510222201]
org.netbeans.modules.core.kit [1.29.1 201510222201]
org.netbeans.modules.defaults/1 [1.30.1 201510222201]
org.netbeans.modules.editor.macros/0 [1.30.1.1.22 1 201510222201]
org.netbeans.modules.editor.plain/2 [1.34.1 201510222201]
org.netbeans.modules.ide.kit [1.32.1 201510222201]
org.netbeans.libs.commons_net/2 [2.19.1.33 33 201510222201]
org.netbeans.modules.hudson [2.12.1 201510222201]
org.netbeans.modules.hudson.ui [1.10.1 201510222201]
org.netbeans.modules.hudson.tasklist [1.16.1 201510222201]
org.netbeans.modules.hudson.subversion [1.28.1 201510222201]
org.netbeans.modules.hudson.mercurial [1.28.1 201510222201]
org.netbeans.modules.hudson.git [1.17.1 201510222201]
org.netbeans.api.knockout [1.2.1 201510222201]
org.netbeans.modules.html.knockout [1.10.1 201510222201]
org.netbeans.modules.html.custom [1.5.1 201510222201]
org.netbeans.core.browser/1 [1.27.1.1 1 201510222201]
org.netbeans.modules.html.angular [1.11.1 201510222201]
org.eclipse.jgit [3.6.2 3.6.2.201501210735-r]
org.netbeans.libs.jna.platform/1 [1.10.1 201510222201]
org.netbeans.libs.jsch.agentproxy/1 [0.13.1 201510222201]
org.netbeans.libs.git/1 [1.32.2 201601300101]
org.netbeans.modules.git [1.19.3.1 201601300101]
org.netbeans.modules.findbugs.installer [1.15.1 201510222201]
org.apache.commons.io [1.4 1.4]
org.netbeans.modules.extexecution.process [1.26.1 201510222201]
org.netbeans.modules.extexecution.impl [1.24.1 201510222201]
org.netbeans.modules.editor.mimelookup.impl/1 [1.31.1 201510222201]
org.netbeans.modules.editor.global.format/1 [1.14.1.1 1 201510222201]
org.netbeans.modules.db.metadata.model/1 [1.10.1 201510222201]
org.netbeans.modules.db/1 [1.64.1.30 30 201510222201]
org.netbeans.modules.dbapi [1.33.1.30 201510222201]
org.netbeans.modules.derby [1.39.1 201510222201]
org.netbeans.modules.dbschema/1 [1.40.1.4.30 4 201510222201]
org.netbeans.api.visual [2.46.1 201510222201]
org.netbeans.modules.db.sql.visualeditor/1 [2.30.1.30 201510222201]
org.netbeans.modules.db.dataview [1.28.2 201601300101]
org.netbeans.modules.db.core [1.35.1 201510222201]
org.netbeans.modules.db.sql.editor [1.35.1.30 201510222201]
org.netbeans.modules.db.mysql [0.27.1.2 2 201510222201]
org.netbeans.modules.db.drivers [1.28.1 201510222201]
org.netbeans.modules.db.kit [1.29.1 201510222201]
org.netbeans.modules.css.prep [1.27.1 201510222201]
org.eclipse.mylyn.bugzilla.core [3.14.2 3.14.2.v20150217-2341]
org.apache.commons.httpclient [3.1.0 3.1.0]
org.netbeans.modules.bugzilla [1.76.2 201601300101]
org.netbeans.modules.bugtracking.bridge [1.44.1 201510222201]
org.netbeans.libs.svnClientAdapter.svnkit/1 [1.23.1 201510222201]
org.netbeans.libs.svnClientAdapter.javahl/1 [1.23.1 201510222201]
org.netbeans.libs.javafx [2.6.1 201510222201]
org.netbeans.libs.freemarker/1 [2.33.1.238 238 201510222201]
org.netbeans.core.network [1.9.1 201510222201]
org.netbeans.core.nativeaccess/1 [1.30.1 201510222201]
org.netbeans.core.io.ui/1 [1.29.1 201510222201]
org.netbeans.core.browser.webview/1 [1.14.1.1.1 1 201510222201]
org.eclipse.mylyn.commons.xmlrpc [3.10.0 3.10.0.20130704-2116]
org.eclipse.mylyn.commons.repositories.core [1.2.0 1.2.0.20130704-2116]
org.eclipse.mylyn.commons.core [3.10.0 3.10.0.20130926-1710]
org.eclipse.equinox.security [1.1.1 1.1.1.R37x_v20110822-1018]
org.eclipse.equinox.registry [3.5.200 3.5.200.v20120522-1841]
org.eclipse.equinox.preferences [3.4.2 3.4.2.v20120111-2020]
org.eclipse.equinox.app [1.3.100 1.3.100.v20110321]
org.eclipse.core.runtime.compatibility.auth [3.2.200 3.2.200.v20110110]
org.eclipse.core.net [1.2.100 1.2.100.I20110511-0800]
org.eclipse.core.contenttype [3.4.100 3.4.100.v20110423-0524]
org.apache.xmlrpc [3.0.0 3.0.0]
org.apache.ws.commons.util [1.0.1 1.0.1]
org.apache.commons.lang [2.4.0 2.4.0]
org.apache.commons.codec [1.3.0 1.3.0]
com.jcraft.jzlib [1.0.7 1.0.7]
com.googlecode.javaewah.JavaEWAH [0.7.9 0.7.9]
INFO [org.netbeans.core.netigso.Netigso]: bundle net.java.html@1.2.3 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle net.java.html.json@1.2.3 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle net.java.html.boot@1.2.3 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle net.java.html.boot.fx@1.2.3 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle net.java.html.geo@1.2.3 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle net.java.html.sound@1.2.3 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle net.java.html.boot.script@1.2.3 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle org.netbeans.html.ko4j@1.2.3 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle org.eclipse.mylyn.wikitext.textile.core@1.9.0.20131007-2055 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle org.eclipse.mylyn.wikitext.confluence.core@1.9.0.20131007-2055 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle org.eclipse.jgit.java7@3.6.2.201501210735-r resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle org.eclipse.osgi@3.9.1.v20140110-1610 started
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy resolver: Windows
INFO [org.netbeans.core.network.proxy.windows.WindowsNetworkProxy]: Windows system proxy resolver: auto detect
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy reloading succeeded.
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy - mode: direct
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy: fell to default (correct if direct mode went before)
INFO [org.openide.awt.Toolbar]: Too long AWTTask: 519 ms for org.openide.awt.MenuBar$MenuBarFolder@1ee7ae0(FolderList{MultiFileObject@165c04b[Menu]})
INFO [org.netbeans.ui.metrics.laf]: USG_LOOK_AND_FEEL
Diagnostic information
Input arguments:
-Xms24m
-Xmx64m
-XX:MaxPermSize=256m
-Dnetbeans.user.dir=C:\Program Files\pctmonitor
-Djdk.home=C:\Program Files (x86)\Java\jdk1.8.0_121
-splash:C:\Users\ReStart\AppData\Roaming\.pctmonitor\dev\var\cache\splash.png
-Dnetbeans.home=C:\Program Files\pctmonitor\platform
-Dnetbeans.user=C:\Users\ReStart\AppData\Roaming\.pctmonitor\dev
-Dnetbeans.default_userdir_root=
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=C:\Users\ReStart\AppData\Roaming\.pctmonitor\dev\var\log\heapdump.hprof
-Dsun.awt.keepWorkingSetOnMinimize=true
-Dnetbeans.dirs=C:\Program Files\pctmonitor\pctmonitor;C:\Program Files\pctmonitor\ide;C:\Program Files\pctmonitor\java
exit
Compiler: HotSpot Tiered Compilers
Heap memory usage: initial 24.0MB maximum 57.0MB
Non heap memory usage: initial 2.2MB maximum -1b
Garbage collector: PS Scavenge (Collections=65 Total time spent=0s)
Garbage collector: PS MarkSweep (Collections=2 Total time spent=0s)
Classes: loaded=6102 total loaded=6107 unloaded 5
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 6,231,265,280
INFO [null]: Total physical memory 6,231,265,280
WARNING [org.openide.filesystems.Ordering]: Not all children in Menu/Window/ marked with the position attribute: [Debug], but some are: [org-netbeans-modules-project-ui-logical-tab-action.shadow, org-netbeans-modules-project-ui-physical-tab-action.shadow, org-netbeans-modules-favorites-View.shadow, org-netbeans-core-ide-ServicesTabAction.shadow, org-netbeans-modules-navigator-ShowNavigatorAction.shadow, org-netbeans-modules-tasklist-ui-TaskListAction.shadow, org-netbeans-modules-tasks-ui-DashboardTopComponent.shadow, org-netbeans-core-io-ui-IOWindowAction.shadow, SwitchToRecentDocumentAction.shadow, Web, Tools, Separator3.instance, ConfigureWindow, org-netbeans-core-windows-actions-ResetWindowsAction.shadow, Separator4.instance, CloseWindowAction.shadow, CloseAllDocumentsAction.shadow, CloseAllButThisAction.shadow, GroupsMenuAction.shadow, DocumentsAction.shadow]
WARNING [org.netbeans.JarClassLoader]: Opening C:\Program Files\pctmonitor\ide\modules\org-netbeans-spi-tasklist.jar took 704 ms
INFO [org.netbeans.ui.indexing]: Indexing started, time from last indexing 0 ms.
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1a29b6f[MultiFileObject@b66e02[Keymaps/NetBeans/C-F5.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@a1894b[MultiFileObject@19e89e8[Keymaps/NetBeans/D-BACK_QUOTE.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@d7c706[MultiFileObject@13a1f66[Keymaps/NetBeans/D-F7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@15b7055[MultiFileObject@e24a56[Keymaps/NetBeans/D-F8.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1ef0f9c[MultiFileObject@1c52d73[Keymaps/NetBeans/DS-F5.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@592891[MultiFileObject@1b975c8[Keymaps/NetBeans/DS-F6.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1114864[MultiFileObject@159c0b7[Keymaps/NetBeans/DS-F7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@687ca2[MultiFileObject@1c33efa[Keymaps/NetBeans/DS-F8.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@19d9de1[MultiFileObject@14c66bd[Keymaps/NetBeans/F4.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@9e5509[MultiFileObject@2da38e[Keymaps/NetBeans/F5.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@afa036[MultiFileObject@d08ab8[Keymaps/NetBeans/F7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@17d0fcf[MultiFileObject@12c562[Keymaps/NetBeans/F8.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1f315c6[MultiFileObject@ec60e9[Keymaps/NetBeans/O-PAGE_DOWN.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@bdb76a[MultiFileObject@317666[Keymaps/NetBeans/O-PAGE_UP.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@129c6e2[MultiFileObject@1883c9d[Keymaps/NetBeans/S-F7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@b02103[MultiFileObject@221849[Keymaps/NetBeans/SO-2.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@119ab4d[MultiFileObject@15a6d36[Keymaps/NetBeans/SO-3.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@6f6aba[MultiFileObject@1189510[Keymaps/NetBeans/SO-5.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@145119b[MultiFileObject@1a6138b[Keymaps/NetBeans/SO-6.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@bb965e[MultiFileObject@162fe17[Keymaps/NetBeans/SO-7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1f8ffd8[MultiFileObject@956402[Keymaps/NetBeans/SO-8.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1a29b6f[MultiFileObject@b66e02[Keymaps/NetBeans/C-F5.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@a1894b[MultiFileObject@19e89e8[Keymaps/NetBeans/D-BACK_QUOTE.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@d7c706[MultiFileObject@13a1f66[Keymaps/NetBeans/D-F7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@15b7055[MultiFileObject@e24a56[Keymaps/NetBeans/D-F8.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1ef0f9c[MultiFileObject@1c52d73[Keymaps/NetBeans/DS-F5.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@592891[MultiFileObject@1b975c8[Keymaps/NetBeans/DS-F6.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1114864[MultiFileObject@159c0b7[Keymaps/NetBeans/DS-F7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@687ca2[MultiFileObject@1c33efa[Keymaps/NetBeans/DS-F8.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@19d9de1[MultiFileObject@14c66bd[Keymaps/NetBeans/F4.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@9e5509[MultiFileObject@2da38e[Keymaps/NetBeans/F5.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@afa036[MultiFileObject@d08ab8[Keymaps/NetBeans/F7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@17d0fcf[MultiFileObject@12c562[Keymaps/NetBeans/F8.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1f315c6[MultiFileObject@ec60e9[Keymaps/NetBeans/O-PAGE_DOWN.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@bdb76a[MultiFileObject@317666[Keymaps/NetBeans/O-PAGE_UP.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@129c6e2[MultiFileObject@1883c9d[Keymaps/NetBeans/S-F7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@b02103[MultiFileObject@221849[Keymaps/NetBeans/SO-2.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@119ab4d[MultiFileObject@15a6d36[Keymaps/NetBeans/SO-3.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@6f6aba[MultiFileObject@1189510[Keymaps/NetBeans/SO-5.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@145119b[MultiFileObject@1a6138b[Keymaps/NetBeans/SO-6.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@bb965e[MultiFileObject@162fe17[Keymaps/NetBeans/SO-7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1f8ffd8[MultiFileObject@956402[Keymaps/NetBeans/SO-8.shadow]]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 629 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 binary roots took: 3 ms
WARNING [org.netbeans.JarClassLoader]: Opening C:\Program Files\pctmonitor\java\modules\org-netbeans-modules-java-platform.jar took 1,286 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: C:\Program Files\pctmonitor\ide\jsstubs\reststubs.zip took: 7,897 ms (New or modified files: 14, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: C:\Program Files\pctmonitor\ide\jsstubs\domstubs.zip took: 5,544 ms (New or modified files: 133, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: C:\Program Files\pctmonitor\ide\jsstubs\corestubs.zip took: 1,374 ms (New or modified files: 37, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 3 source roots took: 14,815 ms (New or modified files: 184, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.ui.indexing]: Indexing finished, indexing took 16,410 ms.



screen.png
 Description:
 Filesize:  8.45 KB
 Viewed:  2726 Time(s)

screen.png


Back to top
ruperty



Joined: 06 Jul 2014
Posts: 21

PostPosted: Thu Mar 09, 2017 6:35 pm    Post subject: Any suggestions? Reply with quote

Any suggestions for what I am missing?
Back to top
geertjan



Joined: 22 Jan 2014
Posts: 979

PostPosted: Thu Mar 09, 2017 7:07 pm    Post subject: TopComponent not running Reply with quote

Impossible to know without code.

Gj


On 7-3-2017 10:21, ruperty wrote:
Quote:
I have a Netbeans platform project which runs fine when initiated from the Netbeans IDE, but when I export the package as a windows installer, install that and run the installed application what comes up is a blank screen, see attachment screen.png.

Any ideas why the application is not running? Here's the IDE log:



Quote:
Quote:
Log Session: Tuesday, March 7, 2017 8:55:38 AM GMT
System Info:
Product Version = PCTMonitor 201510222201
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.8.0_121; Java HotSpot(TM) Server VM 25.121-b13; Oracle Corporation
Runtime = Java(TM) SE Runtime Environment 1.8.0_121-b13
Java Home = C:\Program Files (x86)\Java\jdk1.8.0_121\jre
System Locale; Encoding = en_GB (pctmonitor); Cp1252
Home Directory = C:\Users\ReStart
Current Directory = C:\Program Files\pctmonitor
User Directory = C:\Users\ReStart\AppData\Roaming\.pctmonitor\dev
Cache Directory = C:\Users\ReStart\AppData\Roaming\.pctmonitor\dev\var\cache
Installation = C:\Program Files\pctmonitor\pctmonitor
C:\Program Files\pctmonitor\ide
C:\Program Files\pctmonitor\java
C:\Program Files\pctmonitor\platform
Boot & Ext. Classpath = C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\rt.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\jfr.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\classes;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\access-bridge-32.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\cldrdata.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\dnsns.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\jaccess.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\jfxrt.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\localedata.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\nashorn.jar;C:\Program Files (x86)\Ja!
va\jdk1.8.0_121\jre\lib\ext\sunec.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\sunjce_provider.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\sunmscapi.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\sunpkcs11.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\ext\zipfs.jar
Quote:
Application Classpath = C:\Program Files\pctmonitor\platform\lib\boot.jar;C:\Program Files\pctmonitor\platform\lib\org-openide-modules.jar;C:\Program Files\pctmonitor\platform\lib\org-openide-util-lookup.jar;C:\Program Files\pctmonitor\platform\lib\org-openide-util-ui.jar;C:\Program Files\pctmonitor\platform\lib\org-openide-util.jar;C:\Program Files\pctmonitor\platform\lib\locale\boot_ja.jar;C:\Program Files\pctmonitor\platform\lib\locale\boot_pt_BR.jar;C:\Program Files\pctmonitor\platform\lib\locale\boot_ru.jar;C:\Program Files\pctmonitor\platform\lib\locale\boot_zh_CN.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-modules_ja.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-modules_pt_BR.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-modules_ru.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-modules_zh_CN.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util-lookup_ja.jar;C:\Program Files\!
pctmonitor\platform\lib\locale\org-openide-util-lookup_pt_BR.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util-lookup_ru.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util-lookup_zh_CN.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util-ui_ja.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util-ui_pt_BR.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util-ui_ru.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util-ui_zh_CN.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util_ja.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util_pt_BR.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util_ru.jar;C:\Program Files\pctmonitor\platform\lib\locale\org-openide-util_zh_CN.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\lib\dt.jar;C:\Program Files (x86)\Java\jdk1.8.0_121\lib\tools.jar
Quote:
Startup Classpath = C:\Program Files\pctmonitor\platform\core\asm-all-5.0.1.jar;C:\Program Files\pctmonitor\platform\core\core-base.jar;C:\Program Files\pctmonitor\platform\core\core.jar;C:\Program Files\pctmonitor\platform\core\org-netbeans-libs-asm.jar;C:\Program Files\pctmonitor\platform\core\org-openide-filesystems-compat8.jar;C:\Program Files\pctmonitor\platform\core\org-openide-filesystems.jar;C:\Program Files\pctmonitor\platform\core\locale\core-base_ja.jar;C:\Program Files\pctmonitor\platform\core\locale\core-base_pt_BR.jar;C:\Program Files\pctmonitor\platform\core\locale\core-base_ru.jar;C:\Program Files\pctmonitor\platform\core\locale\core-base_zh_CN.jar;C:\Program Files\pctmonitor\platform\core\locale\core_ja.jar;C:\Program Files\pctmonitor\platform\core\locale\core_pt_BR.jar;C:\Program Files\pctmonitor\platform\core\locale\core_ru.jar;C:\Program Files\pctmonitor\platform\core\locale\core_zh_CN.jar;C:\Program Files\pctmonitor\platform\core\locale\org-net!
beans-libs-asm_ja.jar;C:\Program Files\pctmonitor\platform\core\locale\org-netbeans-libs-asm_pt_BR.jar;C:\Program Files\pctmonitor\platform\core\locale\org-netbeans-libs-asm_ru.jar;C:\Program Files\pctmonitor\platform\core\locale\org-netbeans-libs-asm_zh_CN.jar;C:\Program Files\pctmonitor\platform\core\locale\org-openide-filesystems-compat8_ja.jar;C:\Program Files\pctmonitor\platform\core\locale\org-openide-filesystems-compat8_pt_BR.jar;C:\Program Files\pctmonitor\platform\core\locale\org-openide-filesystems-compat8_ru.jar;C:\Program Files\pctmonitor\platform\core\locale\org-openide-filesystems-compat8_zh_CN.jar;C:\Program Files\pctmonitor\platform\core\locale\org-openide-filesystems_ja.jar;C:\Program Files\pctmonitor\platform\core\locale\org-openide-filesystems_pt_BR.jar;C:\Program Files\pctmonitor\platform\core\locale\org-openide-filesystems_ru.jar;C:\Program Files\pctmonitor\platform\core\locale\org-openide-filesystems_zh_CN.jar;C:\Program Files\pctmonitor\pctmonitor\cor!
e\locale\core_pctmonitor.jar
Quote:
-------------------------------------------------------------------------------
INFO [org.netbeans.modules.netbinox]: Install area set to file:/C:/Program Files/pctmonitor/
WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.java.editor.lib, org.netbeans.modules.xml.text] use org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated.
WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use org.netbeans.modules.editor.structure which is deprecated.
WARNING [org.netbeans.JarClassLoader]: Opening C:\Program Files\pctmonitor\platform\modules\ext\felix-4.2.1.jar took 620 ms
WARNING [org.netbeans.JarClassLoader]: Opening C:\Program Files\pctmonitor\platform\modules\org-openide-execution.jar took 727 ms
WARNING [org.netbeans.JarClassLoader]: Opening C:\Program Files\pctmonitor\ide\modules\org-netbeans-core-ide.jar took 515 ms
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
org.openide.util.lookup [8.32.1 201510222201]
org.openide.util [9.5.1 201510222201]
org.openide.util.ui [9.4.1 201510222201]
org.openide.modules [7.47.1 201510222201]
org.netbeans.api.annotations.common/1 [1.26.1 201510222201]
org.openide.filesystems [9.8.1 201510222201]
org.openide.awt [7.65.1 201510222201]
org.netbeans.api.progress/1 [1.46.1 201510222201]
org.netbeans.api.progress.nb [1.46.1 201510222201]
org.openide.dialogs [7.41.1 201510222201]
org.openide.nodes [7.42.1 201510222201]
org.openide.windows [6.74.1 201510222201]
org.netbeans.modules.editor.mimelookup/1 [1.39.1 201510222201]
org.openide.text [6.66.3 201512151638]
org.netbeans.swing.tabcontrol [1.54.1 201510222201]
org.netbeans.swing.outline [1.32.1 201510222201]
org.openide.explorer [6.61.1 201510222201]
org.openide.actions [6.38.1 201510222201]
org.netbeans.modules.queries/1 [1.42.1 201510222201]
org.netbeans.api.templates [1.6.1 201510222201]
org.openide.filesystems.nb [9.7.1 201510222201]
org.openide.loaders [7.63.2 201512151638]
org.netbeans.api.intent [1.1.1 201510222201]
org.netbeans.api.io [1.2.1 201510222201]
org.openide.io [1.48.1 201510222201]
org.openide.filesystems.compat8 [9.7.1 201510222201]
org.openide.execution [9.2.1 201510222201]
org.netbeans.swing.plaf [1.40.1 201510222201]
org.netbeans.modules.projectapi/1 [1.65.2 201601300101]
org.netbeans.swing.dirchooser [1.28.1 201510222201]
org.netbeans.spi.tasklist/1 [1.33.1.1 1 201510222201]
org.netbeans.spi.quicksearch [1.26.1 201510222201]
org.netbeans.spi.palette/1 [1.45.1 201510222201]
org.netbeans.spi.navigator/1 [1.36.1 201510222201]
org.netbeans.modules.editor.util/1 [1.61.1 201510222201]
org.netbeans.modules.editor.settings.lib [1.50.1.1 1 201510222201]
org.netbeans.modules.editor.settings/1 [1.55.1 201510222201]
org.netbeans.modules.lexer/2 [1.62.1.1 1 201510222201]
org.netbeans.modules.editor.fold/1 [1.43.1 201510222201]
org.netbeans.modules.editor.document [1.5.1.1 1 201510222201]
org.netbeans.modules.editor.lib2/1 [2.4.1.44.1 44 201510222201]
org.netbeans.modules.editor.guards/1 [1.31.1 201510222201]
org.netbeans.modules.editor.indent/2 [1.42.1 201510222201]
org.netbeans.modules.editor.lib/3 [4.3.1.22.1.44 22 201510222201]
org.netbeans.modules.keyring [1.23.1 201510222201]
org.netbeans.libs.asm [5.2.1 201510222201]
org.netbeans.bootstrap/1 [2.74.1 201510222201]
org.netbeans.core.startup.base [1.61.1.1 1 201510222201]
org.netbeans.core.startup/1 [1.61.1.1 201510222201]
org.netbeans.modules.sampler [1.13.1 201510222201]
org.netbeans.core/2 [3.49.1 201510222201]
org.netbeans.modules.options.api/1 [1.44.1 201510222201]
org.netbeans.modules.options.keymap [1.36.1 201510222201]
org.netbeans.modules.editor.settings.storage/1 [1.50.1.1 201510222201]
org.netbeans.modules.editor.fold.nbui [1.11.1.44 201510222201]
org.netbeans.modules.editor/3 [1.84.1.5.1.22.44 5 201510222201]
org.netbeans.libs.javacapi [8.13.1.3 3 201510222201]
org.netbeans.libs.javacimpl/1 [0.40.1.25 25 201510222201]
org.netbeans.lib.nbjavac [1.15.1.2.25 2 201510222201]
org.netbeans.modules.editor.errorstripe.api/1 [2.31.1.1 1 201510222201]
org.netbeans.api.java.classpath/1 [1.50.1 201510222201]
org.netbeans.api.java/1 [1.58.1 201510222201]
org.netbeans.modules.java.platform/1 [1.39.1 201510222201]
org.netbeans.modules.options.editor/1 [1.55.1 201510222201]
org.netbeans.modules.editor.errorstripe/2 [2.33.1.1.1 1 201510222201]
org.netbeans.modules.diff/1 [1.50.1.42.1 42 201510222201]
org.netbeans.libs.lucene/3 [3.18.1 201510222201]
org.netbeans.modules.masterfs/2 [2.54.1.2 2 201510222201]
org.netbeans.modules.parsing.lucene/2 [2.34.1.1 1 201510222201]
org.netbeans.modules.parsing.api/1 [9.5.1.8 8 201510222201]
org.netbeans.modules.projectuiapi.base/1 [1.83.1.9 9 201510222201]
org.netbeans.modules.project.indexingbridge [1.16.1 201510222201]
org.netbeans.modules.parsing.indexing [9.7.2.1.1.8 1 201601300101]
org.netbeans.modules.refactoring.api [1.45.1.1 1 201510222201]
org.netbeans.modules.classfile/1 [1.47.1 201510222201]
org.netbeans.modules.editor.indent.support [1.41.1 201510222201]
org.netbeans.modules.projectuiapi/1 [1.86.1.8 8 201510222201]
org.netbeans.modules.editor.indent.project/0 [1.21.1 201510222201]
org.netbeans.core.multiview/1 [1.43.1 201510222201]
org.netbeans.modules.java.lexer/1 [1.30.1 201510222201]
org.netbeans.modules.java.preprocessorbridge [1.38.1.1 1 201510222201]
org.netbeans.modules.java.source.base [2.9.1.2.2.25.8.1 2 201510222201]
org.netbeans.modules.java.source [0.149.1.32.2.25.2.1 32 201510222201]
org.netbeans.modules.project.spi.intern [1.2.1 201510222201]
org.netbeans.modules.project.libraries/1 [1.52.1 201510222201]
org.apache.xml.resolver [1.30.1.12 12 201510222201]
org.netbeans.api.xml/1 [1.43.1 201510222201]
org.netbeans.modules.xml.catalog/2 [3.2.1.4 4 201510222201]
org.netbeans.modules.project.ant/1 [1.64.1 201510222201]
org.netbeans.modules.java.project/1 [1.64.1 201510222201]
org.netbeans.modules.settings/1 [1.48.1 201510222201]
org.netbeans.spi.editor.hints/0 [1.39.1.7.44 7 201510222201]
org.netbeans.modules.autoupdate.services [1.51.1 201510222201]
org.netbeans.modules.autoupdate.ui [1.44.1 201510222201]
org.netbeans.core.windows/2 [2.80.1 201510222201]
org.netbeans.modules.code.analysis/0 [1.24.1 201510222201]
org.netbeans.spi.java.hints [1.27.1.13.2.25.32.2.8 13 201510222201]
org.netbeans.modules.editor.tools.storage [1.7.1 201510222201]
org.netbeans.spi.editor.hints.projects [1.10.1.1.7 1 201510222201]
org.netbeans.modules.xml.core/2 [1.42.1.4 4 201510222201]
org.netbeans.modules.xml.xam/1 [1.31.1.1 1 201510222201]
org.netbeans.api.xml.ui/1 [1.43.1 201510222201]
org.netbeans.modules.xml.retriever/1 [1.30.1 201510222201]
org.netbeans.modules.xml.schema.model/1 [1.31.1.1 1 201510222201]
org.netbeans.modules.xml.axi [1.30.1 201510222201]
org.netbeans.modules.editor.breadcrumbs/0 [1.16.1 201510222201]
org.netbeans.modules.editor.bracesmatching/0 [1.38.1.44 201510222201]
org.netbeans.modules.editor.deprecated.pre65formatting/0 [1.27.1.1.5.22.44 1 201510222201]
org.netbeans.modules.editor.completion/1 [1.43.1.2 2 201510222201]
org.netbeans.modules.editor.codetemplates/1 [1.41.1.1 1 201510222201]
org.netbeans.modules.editor.actions/1 [1.29.1.44 201510222201]
org.netbeans.core.ui/1 [1.44.1 201510222201]
org.netbeans.api.search [1.20.1 201510222201]
org.netbeans.modules.jumpto/1 [1.51.1.1 1 201510222201]
org.netbeans.modules.csl.api/2 [2.51.2.2.1.1.8.1 2 201601300101]
org.netbeans.modules.editor.structure/1 [1.46.1.1 1 201510222201]
org.netbeans.modules.xml.lexer [1.28.1 201510222201]
org.netbeans.modules.xml.text/2 [1.51.1 201510222201]
org.netbeans.modules.xml [1.30.1 201510222201]
org.netbeans.modules.servletapi/1 [1.38.1 201510222201]
org.netbeans.modules.httpserver/2 [2.35.1.42 42 201510222201]
org.netbeans.modules.xsl/1 [1.42.1 201510222201]
org.netbeans.modules.xml.xdm/1 [1.32.1.1 1 201510222201]
org.netbeans.libs.xerces/1 [1.37.1.281 281 201510222201]
org.netbeans.modules.xml.tax/2 [1.42.1.281 201510222201]
org.netbeans.modules.xml.tools/2 [1.42.1 201510222201]
org.netbeans.modules.xml.tools.java [1.28.1 201510222201]
org.netbeans.modules.xml.schema.completion [1.29.1 201510222201]
org.netbeans.modules.xml.catalog.ui [2.2.1.4 201510222201]
org.netbeans.api.debugger/1 [1.52.1 201510222201]
org.netbeans.libs.json_simple/1 [0.11.1 201510222201]
org.netbeans.modules.web.webkit.debugging [1.50.2 201601300101]
org.netbeans.modules.extexecution.base/2 [1.2.1 201510222201]
org.netbeans.modules.extexecution/2 [1.47.1 201510222201]
org.netbeans.modules.web.common [1.90.2 201601300101]
org.netbeans.modules.web.indent [1.19.1 201510222201]
org.netbeans.modules.extbrowser/1 [1.52.1 201510222201]
org.netbeans.modules.web.browser.api [1.44.1 201510222201]
org.netbeans.modules.versioning.core/1 [1.29.1.1.42 1 201510222201]
org.netbeans.modules.versioning/1 [1.46.1.1 1 201510222201]
org.netbeans.modules.favorites/1 [1.45.1 201510222201]
org.netbeans.modules.spellchecker.apimodule [1.24.1 201510222201]
org.netbeans.modules.versioning.util [1.68.3.42.1 201601300101]
org.netbeans.modules.team.commons [1.47.1 201510222201]
org.netbeans.modules.versioning.ui/1 [1.21.1.42.1 201510222201]
org.netbeans.modules.versioning.system.cvss.installer [1.15.1 201510222201]
org.netbeans.modules.masterfs.ui [2.2.1.2 201510222201]
org.netbeans.modules.versioning.masterfs [1.13.1 201510222201]
org.netbeans.modules.versioning.indexingbridge/0 [1.24.1 201510222201]
org.netbeans.modules.sendopts/2 [2.34.1 201510222201]
org.netbeans.modules.utilities/1 [1.60.1 201510222201]
org.netbeans.modules.utilities.project/1 [1.37.1 201510222201]
org.netbeans.modules.javahelp/1 [2.40.1 201510222201]
org.netbeans.modules.usersguide/1 [1.47.1 201510222201]
org.netbeans.lib.terminalemulator [1.33.2 201512151638]
org.netbeans.modules.terminal [1.24.2 201512151638]
org.netbeans.modules.templates/1 [1.6.1 201510222201]
org.netbeans.libs.swingx/1 [1.26.1 201510222201]
org.netbeans.modules.team.ide [1.12.1 201510222201]
org.netbeans.modules.tasklist.ui/1 [1.30.1.1.1 1 201510222201]
org.netbeans.modules.tasklist.todo/1 [1.30.1.1 1 201510222201]
org.netbeans.modules.tasklist.projectint/1 [1.28.1 201510222201]
org.netbeans.modules.tasklist.kit [1.27.1 201510222201]
org.netbeans.libs.ini4j/1 [1.33.1 201510222201]
org.netbeans.libs.svnClientAdapter/1 [1.39.1 201510222201]
org.netbeans.modules.subversion [1.40.2.42.1 201512151638]
org.netbeans.modules.editor.plain.lib/1 [1.32.1 201510222201]
org.netbeans.modules.spellchecker [1.34.1.1.7 1 201510222201]
org.netbeans.modules.spellchecker.kit [1.24.1 201510222201]
org.netbeans.modules.spellchecker.dictionary_en [1.21.1 201510222201]
org.netbeans.modules.properties/1 [1.53.1 201510222201]
org.netbeans.modules.properties.syntax/1 [1.49.1 201510222201]
org.netbeans.modules.spellchecker.bindings.properties [1.21.1 201510222201]
org.netbeans.modules.java.editor.lib/1 [1.37.1 201510222201]
org.netbeans.modules.spellchecker.bindings.java/1 [1.29.1 201510222201]
org.netbeans.modules.html.lexer/1 [1.37.1 201510222201]
org.netbeans.modules.spellchecker.bindings.htmlxml [1.26.1 201510222201]
org.netbeans.core.ide/1 [1.40.1 201510222201]
org.netbeans.modules.server/0 [1.32.1 201510222201]
org.netbeans.modules.selenium2.server [1.2.1 201510222201]
org.netbeans.modules.gsf.testrunner/2 [2.8.1 201510222201]
org.netbeans.modules.gsf.testrunner.ui [1.9.2 201601300101]
org.netbeans.modules.selenium2 [1.4.1 201510222201]
org.netbeans.modules.java.testrunner [1.18.1 201510222201]
org.netbeans.modules.selenium2.java [1.1.1 201510222201]
org.netbeans.core.execution/1 [1.40.1 201510222201]
org.netbeans.modules.projectui [1.57.2.8.9 201601300101]
org.netbeans.modules.projectapi.nb [1.2.1 201510222201]
org.netbeans.modules.project.spi.intern.impl [1.2.1 201510222201]
org.netbeans.modules.project.libraries.ui/1 [1.51.1 201510222201]
org.netbeans.modules.progress.ui [1.32.1 201510222201]
org.netbeans.modules.print.editor [7.25.1 201510222201]
org.netbeans.modules.print [7.25.1 201510222201]
org.netbeans.modules.parsing.ui [1.13.1.1 201510222201]
org.netbeans.modules.parsing.nb [1.2.1.8.1 201510222201]
org.netbeans.modules.notifications [1.7.1 201510222201]
org.netbeans.libs.osgi [1.20.1 201510222201]
org.netbeans.core.netigso [1.30.1 201510222201]
org.netbeans.modules.netbinox [1.39.1 201510222201]
org.eclipse.mylyn.commons.net [3.10.0 3.10.0.20131018-1210]
org.eclipse.mylyn.tasks.core [3.10.0 3.10.0.20131010-2023]
org.eclipse.core.jobs [3.5.101 3.5.101.v20120113-1953]
org.eclipse.mylyn.wikitext.core [1.9.0 1.9.0.20131007-2055]
org.netbeans.modules.bugtracking [1.108.2 201601300101]
org.eclipse.equinox.common [3.6.0 3.6.0.v20110523]
org.eclipse.core.runtime [3.7.0 3.7.0.v20110110]
org.netbeans.modules.mylyn.util [1.33.1 201510222201]
org.netbeans.modules.mercurial [1.41.2.42.1 201512151638]
org.netbeans.libs.jna/1 [1.41.1 201510222201]
org.netbeans.modules.masterfs.windows [1.15.1 201510222201]
org.netbeans.modules.masterfs.nio2 [1.14.1 201510222201]
org.netbeans.modules.bugtracking.commons [1.7.1 201510222201]
org.netbeans.modules.localtasks [1.24.1 201510222201]
org.netbeans.modules.localhistory [1.33.1 201510222201]
org.netbeans.modules.lexer.nbbridge/1 [1.31.1.1 201510222201]
org.netbeans.libs.bytelist/1 [0.26.1.1 1 201510222201]
org.netbeans.libs.jvyamlb/1 [0.28.1 201510222201]
org.netbeans.modules.languages.yaml [2.31.1 201510222201]
org.netbeans.modules.languages.manifest [1.31.1 201510222201]
org.netbeans.modules.languages.diff [1.32.1 201510222201]
org.netbeans.modules.keyring.fallback [1.7.1 201510222201]
org.netbeans.modules.keyring.impl [1.23.1 201510222201]
org.netbeans.modules.html.editor.lib/3 [3.30.1 201510222201]
org.netbeans.libs.antlr3.runtime [1.20.1.1 1 201510222201]
org.netbeans.modules.css.lib/1 [1.81.1 201510222201]
org.netbeans.modules.css.model [1.30.1 201510222201]
org.netbeans.modules.css.editor/1 [1.66.1 201510222201]
org.netbeans.modules.html/1 [1.60.1 201510222201]
org.netbeans.modules.html.editor/2 [2.53.1 201510222201]
org.netbeans.libs.nashorn/1 [1.18.1 201510222201]
org.netbeans.modules.javascript2.editor/1 [0.68.2 201601300101]
org.netbeans.modules.javascript2.requirejs [0.5.2 201601300101]
org.netbeans.modules.javascript2.prototypejs [0.4.1 201510222201]
org.netbeans.modules.javascript2.nodejs/0 [0.10.1 201510222201]
org.netbeans.modules.javascript2.knockout [1.9.1 201510222201]
org.netbeans.modules.javascript2.extjs [1.8.1 201510222201]
org.netbeans.modules.javascript2.jquery [1.8.1 201510222201]
org.netbeans.modules.javascript2.jade/1 [0.6.1 201510222201]
org.netbeans.modules.javascript2.kit/1 [0.13.1 201510222201]
org.netbeans.modules.javaee.injection [1.5.1 201510222201]
org.netbeans.modules.java.sourceui/1 [1.42.1.1.25.32.2 1 201510222201]
org.netbeans.modules.javadoc/1 [1.53.1 201510222201]
org.netbeans.modules.java.testrunner.ui [1.3.1 201510222201]
org.netbeans.modules.java.platform.ui/1 [1.39.1 201510222201]
org.netbeans.modules.java.navigation/1 [1.38.1 201510222201]
org.netbeans.modules.java.metrics [1.7.1 201510222201]
org.netbeans.modules.java.j2seprofiles [1.7.1 201510222201]
org.netbeans.modules.java.debug [1.37.1.1.25.2 1 201510222201]
org.netbeans.modules.j2ee.metadata/0 [1.31.1 201510222201]
org.netbeans.modules.j2ee.metadata.model.support/1 [1.30.1 201510222201]
org.netbeans.modules.j2ee.persistenceapi/1 [1.33.1.1 1 201510222201]
org.netbeans.modules.j2ee.eclipselinkmodelgen/1 [1.31.1 201510222201]
org.netbeans.modules.image/1 [1.47.1 201510222201]
org.netbeans.core.multitabs/1 [1.11.1.1 1 201510222201]
org.netbeans.modules.editor.bookmarks/1 [1.36.1 201510222201]
com.jcraft.jsch [0.1.53 0.1.53]
org.netbeans.modules.dlight.nativeexecution [1.37.5.1 1 201602060101]
org.netbeans.modules.dlight.terminal [1.22.5.1 1 201602060101]
org.netbeans.core.multitabs.project [1.9.1.1.1 1 201510222201]
org.netbeans.modules.editor.search [1.23.1.0.44 0 201510222201]
org.apache.commons.logging [1.1.1 1.1.1]
org.netbeans.modules.html.parser/1 [1.33.1.1 1 201510222201]
org.netbeans.modules.html.validation/1 [1.29.1 201510222201]
org.netbeans.core.output2/1 [1.40.1 201510222201]
org.netbeans.modules.css.visual/3 [3.30.1 201510222201]
org.netbeans.modules.editor.kit [1.31.1 201510222201]
org.netbeans.modules.autoupdate.cli [1.12.1 201510222201]
org.netbeans.libs.felix [2.14.1 201510222201]
org.netbeans.modules.core.kit [1.29.1 201510222201]
org.netbeans.modules.defaults/1 [1.30.1 201510222201]
org.netbeans.modules.editor.macros/0 [1.30.1.1.22 1 201510222201]
org.netbeans.modules.editor.plain/2 [1.34.1 201510222201]
org.netbeans.modules.ide.kit [1.32.1 201510222201]
org.netbeans.libs.commons_net/2 [2.19.1.33 33 201510222201]
org.netbeans.modules.hudson [2.12.1 201510222201]
org.netbeans.modules.hudson.ui [1.10.1 201510222201]
org.netbeans.modules.hudson.tasklist [1.16.1 201510222201]
org.netbeans.modules.hudson.subversion [1.28.1 201510222201]
org.netbeans.modules.hudson.mercurial [1.28.1 201510222201]
org.netbeans.modules.hudson.git [1.17.1 201510222201]
org.netbeans.api.knockout [1.2.1 201510222201]
org.netbeans.modules.html.knockout [1.10.1 201510222201]
org.netbeans.modules.html.custom [1.5.1 201510222201]
org.netbeans.core.browser/1 [1.27.1.1 1 201510222201]
org.netbeans.modules.html.angular [1.11.1 201510222201]
org.eclipse.jgit [3.6.2 3.6.2.201501210735-r]
org.netbeans.libs.jna.platform/1 [1.10.1 201510222201]
org.netbeans.libs.jsch.agentproxy/1 [0.13.1 201510222201]
org.netbeans.libs.git/1 [1.32.2 201601300101]
org.netbeans.modules.git [1.19.3.1 201601300101]
org.netbeans.modules.findbugs.installer [1.15.1 201510222201]
org.apache.commons.io [1.4 1.4]
org.netbeans.modules.extexecution.process [1.26.1 201510222201]
org.netbeans.modules.extexecution.impl [1.24.1 201510222201]
org.netbeans.modules.editor.mimelookup.impl/1 [1.31.1 201510222201]
org.netbeans.modules.editor.global.format/1 [1.14.1.1 1 201510222201]
org.netbeans.modules.db.metadata.model/1 [1.10.1 201510222201]
org.netbeans.modules.db/1 [1.64.1.30 30 201510222201]
org.netbeans.modules.dbapi [1.33.1.30 201510222201]
org.netbeans.modules.derby [1.39.1 201510222201]
org.netbeans.modules.dbschema/1 [1.40.1.4.30 4 201510222201]
org.netbeans.api.visual [2.46.1 201510222201]
org.netbeans.modules.db.sql.visualeditor/1 [2.30.1.30 201510222201]
org.netbeans.modules.db.dataview [1.28.2 201601300101]
org.netbeans.modules.db.core [1.35.1 201510222201]
org.netbeans.modules.db.sql.editor [1.35.1.30 201510222201]
org.netbeans.modules.db.mysql [0.27.1.2 2 201510222201]
org.netbeans.modules.db.drivers [1.28.1 201510222201]
org.netbeans.modules.db.kit [1.29.1 201510222201]
org.netbeans.modules.css.prep [1.27.1 201510222201]
org.eclipse.mylyn.bugzilla.core [3.14.2 3.14.2.v20150217-2341]
org.apache.commons.httpclient [3.1.0 3.1.0]
org.netbeans.modules.bugzilla [1.76.2 201601300101]
org.netbeans.modules.bugtracking.bridge [1.44.1 201510222201]
org.netbeans.libs.svnClientAdapter.svnkit/1 [1.23.1 201510222201]
org.netbeans.libs.svnClientAdapter.javahl/1 [1.23.1 201510222201]
org.netbeans.libs.javafx [2.6.1 201510222201]
org.netbeans.libs.freemarker/1 [2.33.1.238 238 201510222201]
org.netbeans.core.network [1.9.1 201510222201]
org.netbeans.core.nativeaccess/1 [1.30.1 201510222201]
org.netbeans.core.io.ui/1 [1.29.1 201510222201]
org.netbeans.core.browser.webview/1 [1.14.1.1.1 1 201510222201]
org.eclipse.mylyn.commons.xmlrpc [3.10.0 3.10.0.20130704-2116]
org.eclipse.mylyn.commons.repositories.core [1.2.0 1.2.0.20130704-2116]
org.eclipse.mylyn.commons.core [3.10.0 3.10.0.20130926-1710]
org.eclipse.equinox.security [1.1.1 1.1.1.R37x_v20110822-1018]
org.eclipse.equinox.registry [3.5.200 3.5.200.v20120522-1841]
org.eclipse.equinox.preferences [3.4.2 3.4.2.v20120111-2020]
org.eclipse.equinox.app [1.3.100 1.3.100.v20110321]
org.eclipse.core.runtime.compatibility.auth [3.2.200 3.2.200.v20110110]
org.eclipse.core.net [1.2.100 1.2.100.I20110511-0800]
org.eclipse.core.contenttype [3.4.100 3.4.100.v20110423-0524]
org.apache.xmlrpc [3.0.0 3.0.0]
org.apache.ws.commons.util [1.0.1 1.0.1]
org.apache.commons.lang [2.4.0 2.4.0]
org.apache.commons.codec [1.3.0 1.3.0]
com.jcraft.jzlib [1.0.7 1.0.7]
com.googlecode.javaewah.JavaEWAH [0.7.9 0.7.9]
INFO [org.netbeans.core.netigso.Netigso]: bundle net.java.html@1.2.3 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle net.java.html.json@1.2.3 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle net.java.html.boot@1.2.3 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle net.java.html.boot.fx@1.2.3 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle net.java.html.geo@1.2.3 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle net.java.html.sound@1.2.3 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle net.java.html.boot.script@1.2.3 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle org.netbeans.html.ko4j@1.2.3 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle org.eclipse.mylyn.wikitext.textile.core@1.9.0.20131007-2055 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle org.eclipse.mylyn.wikitext.confluence.core@1.9.0.20131007-2055 resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle org.eclipse.jgit.java7@3.6.2.201501210735-r resolved
INFO [org.netbeans.core.netigso.Netigso]: bundle org.eclipse.osgi@3.9.1.v20140110-1610 started
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy resolver: Windows
INFO [org.netbeans.core.network.proxy.windows.WindowsNetworkProxy]: Windows system proxy resolver: auto detect
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy reloading succeeded.
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy - mode: direct
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy: fell to default (correct if direct mode went before)
INFO [org.openide.awt.Toolbar]: Too long AWTTask: 519 ms for org.openide.awt.MenuBar$MenuBarFolder@1ee7ae0(FolderList{MultiFileObject@165c04b[Menu]})
INFO [org.netbeans.ui.metrics.laf]: USG_LOOK_AND_FEEL
Diagnostic information
Input arguments:
-Xms24m
-Xmx64m
-XX:MaxPermSize=256m
-Dnetbeans.user.dir=C:\Program Files\pctmonitor
-Djdk.home=C:\Program Files (x86)\Java\jdk1.8.0_121
-splash:C:\Users\ReStart\AppData\Roaming\.pctmonitor\dev\var\cache\splash.png
-Dnetbeans.home=C:\Program Files\pctmonitor\platform
-Dnetbeans.user=C:\Users\ReStart\AppData\Roaming\.pctmonitor\dev
-Dnetbeans.default_userdir_root=
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=C:\Users\ReStart\AppData\Roaming\.pctmonitor\dev\var\log\heapdump.hprof
-Dsun.awt.keepWorkingSetOnMinimize=true
-Dnetbeans.dirs=C:\Program Files\pctmonitor\pctmonitor;C:\Program Files\pctmonitor\ide;C:\Program Files\pctmonitor\java
exit
Compiler: HotSpot Tiered Compilers
Heap memory usage: initial 24.0MB maximum 57.0MB
Non heap memory usage: initial 2.2MB maximum -1b
Garbage collector: PS Scavenge (Collections=65 Total time spent=0s)
Garbage collector: PS MarkSweep (Collections=2 Total time spent=0s)
Classes: loaded=6102 total loaded=6107 unloaded 5
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 6,231,265,280
INFO [null]: Total physical memory 6,231,265,280
WARNING [org.openide.filesystems.Ordering]: Not all children in Menu/Window/ marked with the position attribute: [Debug], but some are: [org-netbeans-modules-project-ui-logical-tab-action.shadow, org-netbeans-modules-project-ui-physical-tab-action.shadow, org-netbeans-modules-favorites-View.shadow, org-netbeans-core-ide-ServicesTabAction.shadow, org-netbeans-modules-navigator-ShowNavigatorAction.shadow, org-netbeans-modules-tasklist-ui-TaskListAction.shadow, org-netbeans-modules-tasks-ui-DashboardTopComponent.shadow, org-netbeans-core-io-ui-IOWindowAction.shadow, SwitchToRecentDocumentAction.shadow, Web, Tools, Separator3.instance, ConfigureWindow, org-netbeans-core-windows-actions-ResetWindowsAction.shadow, Separator4.instance, CloseWindowAction.shadow, CloseAllDocumentsAction.shadow, CloseAllButThisAction.shadow, GroupsMenuAction.shadow, DocumentsAction.shadow]
WARNING [org.netbeans.JarClassLoader]: Opening C:\Program Files\pctmonitor\ide\modules\org-netbeans-spi-tasklist.jar took 704 ms
INFO [org.netbeans.ui.indexing]: Indexing started, time from last indexing 0 ms.
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1a29b6f[MultiFileObject@b66e02[Keymaps/NetBeans/C-F5.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@a1894b[MultiFileObject@19e89e8[Keymaps/NetBeans/D-BACK_QUOTE.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@d7c706[MultiFileObject@13a1f66[Keymaps/NetBeans/D-F7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@15b7055[MultiFileObject@e24a56[Keymaps/NetBeans/D-F8.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1ef0f9c[MultiFileObject@1c52d73[Keymaps/NetBeans/DS-F5.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@592891[MultiFileObject@1b975c8[Keymaps/NetBeans/DS-F6.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1114864[MultiFileObject@159c0b7[Keymaps/NetBeans/DS-F7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@687ca2[MultiFileObject@1c33efa[Keymaps/NetBeans/DS-F8.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@19d9de1[MultiFileObject@14c66bd[Keymaps/NetBeans/F4.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@9e5509[MultiFileObject@2da38e[Keymaps/NetBeans/F5.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@afa036[MultiFileObject@d08ab8[Keymaps/NetBeans/F7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@17d0fcf[MultiFileObject@12c562[Keymaps/NetBeans/F8.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1f315c6[MultiFileObject@ec60e9[Keymaps/NetBeans/O-PAGE_DOWN.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@bdb76a[MultiFileObject@317666[Keymaps/NetBeans/O-PAGE_UP.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@129c6e2[MultiFileObject@1883c9d[Keymaps/NetBeans/S-F7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@b02103[MultiFileObject@221849[Keymaps/NetBeans/SO-2.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@119ab4d[MultiFileObject@15a6d36[Keymaps/NetBeans/SO-3.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@6f6aba[MultiFileObject@1189510[Keymaps/NetBeans/SO-5.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@145119b[MultiFileObject@1a6138b[Keymaps/NetBeans/SO-6.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@bb965e[MultiFileObject@162fe17[Keymaps/NetBeans/SO-7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1f8ffd8[MultiFileObject@956402[Keymaps/NetBeans/SO-8.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1a29b6f[MultiFileObject@b66e02[Keymaps/NetBeans/C-F5.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@a1894b[MultiFileObject@19e89e8[Keymaps/NetBeans/D-BACK_QUOTE.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@d7c706[MultiFileObject@13a1f66[Keymaps/NetBeans/D-F7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@15b7055[MultiFileObject@e24a56[Keymaps/NetBeans/D-F8.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1ef0f9c[MultiFileObject@1c52d73[Keymaps/NetBeans/DS-F5.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@592891[MultiFileObject@1b975c8[Keymaps/NetBeans/DS-F6.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1114864[MultiFileObject@159c0b7[Keymaps/NetBeans/DS-F7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@687ca2[MultiFileObject@1c33efa[Keymaps/NetBeans/DS-F8.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@19d9de1[MultiFileObject@14c66bd[Keymaps/NetBeans/F4.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@9e5509[MultiFileObject@2da38e[Keymaps/NetBeans/F5.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@afa036[MultiFileObject@d08ab8[Keymaps/NetBeans/F7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@17d0fcf[MultiFileObject@12c562[Keymaps/NetBeans/F8.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1f315c6[MultiFileObject@ec60e9[Keymaps/NetBeans/O-PAGE_DOWN.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@bdb76a[MultiFileObject@317666[Keymaps/NetBeans/O-PAGE_UP.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@129c6e2[MultiFileObject@1883c9d[Keymaps/NetBeans/S-F7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@b02103[MultiFileObject@221849[Keymaps/NetBeans/SO-2.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@119ab4d[MultiFileObject@15a6d36[Keymaps/NetBeans/SO-3.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@6f6aba[MultiFileObject@1189510[Keymaps/NetBeans/SO-5.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@145119b[MultiFileObject@1a6138b[Keymaps/NetBeans/SO-6.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@bb965e[MultiFileObject@162fe17[Keymaps/NetBeans/SO-7.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@1f8ffd8[MultiFileObject@956402[Keymaps/NetBeans/SO-8.shadow]]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 629 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 binary roots took: 3 ms
WARNING [org.netbeans.JarClassLoader]: Opening C:\Program Files\pctmonitor\java\modules\org-netbeans-modules-java-platform.jar took 1,286 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: C:\Program Files\pctmonitor\ide\jsstubs\reststubs.zip took: 7,897 ms (New or modified files: 14, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: C:\Program Files\pctmonitor\ide\jsstubs\domstubs.zip took: 5,544 ms (New or modified files: 133, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: C:\Program Files\pctmonitor\ide\jsstubs\corestubs.zip took: 1,374 ms (New or modified files: 37, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 3 source roots took: 14,815 ms (New or modified files: 184, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.ui.indexing]: Indexing finished, indexing took 16,410 ms.





Attachments:
http://forums.netbeans.org//files/screen_173.png
Back to top
Graeme



Joined: 03 Jan 2015
Posts: 17

PostPosted: Thu Mar 09, 2017 7:25 pm    Post subject: Re: Any suggestions? Reply with quote

As Geertjan has indicated without code you have not given anyone much information to go on. A picture doesn't help.

You provided a log but didn't provide a comparison log - e.g. successful vs unsuccessful launch.

When you launch from the Installed version you will be using a different User directory and cache directory. If you are relying on files that were generated during development launches e.g. saved state like which top-components are visible - all that information will be lost in the installed version.

It is possible the installed version runs with a different JRE version - that probably isn't the cause but another environment difference.

You could edit your installed configuration files and point to the development directories and see if that helps.

Also compare the logs from a successful IDE launch vs Installer launch. Are there any differences in the number of modules that get loaded/started? Are there any warnings/errors in one and not the other?

If you can create a small project that demonstrates the issue and post the code on github others might be able to help you resolve the issue.
Back to top
Charles Rivenbark
Posted via mailing list.





PostPosted: Thu Mar 09, 2017 7:34 pm    Post subject: TopComponent not running Reply with quote

I assume also that you clicked on the Windows menu item and tried to launch your TopComponent unsuccessfully from there.

On Thu, Mar 9, 2017 at 2:25 PM, Graeme <address-removed ([email]address-removed[/email])> wrote:
Quote:
As Geertjan has indicated without code you have not given anyone much information to go on.  A picture doesn't help.

You provided a log but didn't provide a comparison log - e.g. successful vs unsuccessful launch.

When you launch from the Installed version you will be using a different User directory and cache directory.  If you are relying on files that were generated during development launches e.g. saved state like which top-components are visible - all that information will be lost in the installed version.

It is possible the installed version runs with a different JRE version - that probably isn't the cause but another environment difference.

You could edit your installed configuration files and point to the development directories and see if that helps.

Also compare the logs from a successful IDE launch vs Installer launch.  Are there any differences in the number of modules that get loaded/started?  Are there any warnings/errors in one and not the other?

If you can create a small project that demonstrates the issue and post the code on github others might be able to help you resolve the issue.




Back to top
ruperty



Joined: 06 Jul 2014
Posts: 21

PostPosted: Thu Mar 09, 2017 8:19 pm    Post subject: Re: Any suggestions? Reply with quote

Thanks for your response.

Graeme wrote:
As Geertjan has indicated without code you have not given anyone much information to go on. A picture doesn't help.

You provided a log but didn't provide a comparison log - e.g. successful vs unsuccessful launch.


When I run the application through Netbeans and View->IDE Log, the output window that comes up is blank.

Quote:

When you launch from the Installed version you will be using a different User directory and cache directory. If you are relying on files that were generated during development launches e.g. saved state like which top-components are visible - all that information will be lost in the installed version.

It is possible the installed version runs with a different JRE version - that probably isn't the cause but another environment difference.


There's only a slight difference 1.8.0_121 (App) 1.8.0_91 (NB).

Quote:

You could edit your installed configuration files and point to the development directories and see if that helps.


Which files are these?

Quote:

Also compare the logs from a successful IDE launch vs Installer launch. Are there any differences in the number of modules that get loaded/started? Are there any warnings/errors in one and not the other?


As mentioned above I don't see a log for the former.

Quote:

If you can create a small project that demonstrates the issue and post the code on github others might be able to help you resolve the issue.


Not sure where I'd start on that without rebuilding the entire project, as I don't know what the issue might be.

The installer worked about 8 months ago, on Linux, but doesn't now. Something I've done recently is delete some of the menus, through XML Layer. Might that be an issue?

Wasn't sure what code to post, but here's the main topcomponent maybe that will help.


Code:

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package uk.co.moonsit.gui.controlpanel.core;

import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JFileChooser;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import org.netbeans.api.settings.ConvertAsProperties;
import org.openide.awt.ActionID;
import org.openide.awt.ActionReference;
import org.openide.util.Exceptions;
import org.openide.util.NbBundle.Messages;
import org.openide.windows.TopComponent;
import org.openide.windows.WindowManager;
import uk.co.moons.gui.components.ControlHierarchyEventMonitor;
import uk.co.moons.gui.controlpanel.helper.ControlPanelHelper;
import uk.co.moons.gui.controlpanel.helper.ParameterslPanelHelper;
import uk.co.moons.gui.controlpanel.helper.PlotPanelHelper;
import uk.co.moonsit.utils.Environment;
import uk.co.moonsit.sockets.ControlDataClient;

/**
 * Top component which displays something.
 */
@ConvertAsProperties(
        dtd = "-//uk.co.moonsit.gui.controlpanel.core//ControlPanel//EN",
        autostore = false)
@TopComponent.Description(
        preferredID = "ControlPanelTopComponent",
        //iconBase="SET/PATH/TO/ICON/HERE",
        persistenceType = TopComponent.PERSISTENCE_ALWAYS)
@TopComponent.Registration(mode = "editor", openAtStartup = true)
@ActionID(category = "Window", id = "uk.co.moonsit.gui.controlpanel.core.ControlPanelTopComponent")
@ActionReference(path = "Menu/Window" /*, position = 333 */)
@TopComponent.OpenActionRegistration(
        displayName = "#CTL_ControlPanelAction",
        preferredID = "ControlPanelTopComponent")
@Messages({
    "CTL_ControlPanelAction=ControlPanel",
    "CTL_ControlPanelTopComponent=ControlPanel Window",
    "HINT_ControlPanelTopComponent=This is a ControlPanel window"
})
public final class ControlPanelTopComponent extends TopComponent {

    static final Logger LOG = Logger.getLogger(ControlPanelTopComponent.class.getName());

    public ControlPanelTopComponent() {
        initComponents();

        {
            env = System.getenv("CPA_CONTROLLERS");
            if (env == null) {
                jTextFieldControllersDir.setText("CPA_CONTROLLERS environmental variable not set");
            } else {
                jTextFieldControllersDir.setText(env);
            }
        }
        {
            String env = System.getenv("EV3_IP");
            if (env == null) {
                jTextFieldHost.setText("EV3_IP environmental variable not set");
            } else {
                jTextFieldHost.setText(env);
            }
        }
        jFileChooser.setCurrentDirectory(new File(jTextFieldControllersDir.getText()));
        Environment.getInstance().setShortNames(jCheckBoxShortNames.isSelected());

        setName(Bundle.CTL_ControlPanelTopComponent());
        setToolTipText(Bundle.HINT_ControlPanelTopComponent());

    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">                         
    private void initComponents() {

        jFileChooser = new javax.swing.JFileChooser();
        mainPanel = new javax.swing.JPanel();
        jPanel1 = new javax.swing.JPanel();
        jPanelMainLayers = new javax.swing.JPanel();
        jPanelLayers = new javax.swing.JPanel();
        jPanelControls = new javax.swing.JPanel();
        jPanelLocal = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jButtonOpenFile = new javax.swing.JButton();
        jButtonStart = new javax.swing.JButton();
        jButtonStep = new javax.swing.JButton();
        jPanelCommon = new javax.swing.JPanel();
        jPanelOutput = new javax.swing.JPanel();
        jButtonDescription = new javax.swing.JButton();
        jButtonParameters = new javax.swing.JButton();
        jCheckBoxPrint = new javax.swing.JCheckBox();
        jCheckBoxOutput = new javax.swing.JCheckBox();
        jTextFieldFileRoot = new javax.swing.JTextField();
        jCheckBoxPlot = new javax.swing.JCheckBox();
        jTextFieldPlotItems = new javax.swing.JTextField();
        jCheckBoxShortNames = new javax.swing.JCheckBox();
        jTextFieldFontSize = new javax.swing.JTextField();
        jLabelFont = new javax.swing.JLabel();
        jPanelRemote = new javax.swing.JPanel();
        jButtonRemote = new javax.swing.JButton();
        jTextFieldHost = new javax.swing.JTextField();
        jTextFieldFreq = new javax.swing.JTextField();
        jLabelFreq = new javax.swing.JLabel();
        jTextFieldPort = new javax.swing.JTextField();
        jLabelHost = new javax.swing.JLabel();
        jLabelPort = new javax.swing.JLabel();
        jButtonShutdown = new javax.swing.JButton();
        jPanelFile = new javax.swing.JPanel();
        jLabelTime = new javax.swing.JLabel();
        monitor = new ControlHierarchyEventMonitor();
        monitor.addTimePropertyChangeListener(new TimeLabelListener());
        jLabelFilename = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jTextFieldControllersDir = new javax.swing.JTextField();

        setPreferredSize(new java.awt.Dimension(800, 644));
        setLayout(new java.awt.BorderLayout());

        mainPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(51, 153, 255)));
        mainPanel.setLayout(new java.awt.BorderLayout());

        jPanel1.setBorder(javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(255, 0, 51)));
        jPanel1.setLayout(new java.awt.BorderLayout());

        jPanelMainLayers.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jPanelMainLayers.setLayout(new java.awt.BorderLayout());

        javax.swing.GroupLayout jPanelLayersLayout = new javax.swing.GroupLayout(jPanelLayers);
        jPanelLayers.setLayout(jPanelLayersLayout);
        jPanelLayersLayout.setHorizontalGroup(
            jPanelLayersLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 860, Short.MAX_VALUE)
        );
        jPanelLayersLayout.setVerticalGroup(
            jPanelLayersLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 516, Short.MAX_VALUE)
        );

        jPanelMainLayers.add(jPanelLayers, java.awt.BorderLayout.CENTER);

        jPanel1.add(jPanelMainLayers, java.awt.BorderLayout.CENTER);

        jPanelControls.setPreferredSize(new java.awt.Dimension(750, 120));

        jPanelLocal.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));

        jLabel1.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jLabel1.text")); // NOI18N

        org.openide.awt.Mnemonics.setLocalizedText(jButtonOpenFile, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jButtonOpenFile.text")); // NOI18N
        jButtonOpenFile.setActionCommand(org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jButtonOpenFile.actionCommand")); // NOI18N
        jButtonOpenFile.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonOpenFileActionPerformed(evt);
            }
        });

        org.openide.awt.Mnemonics.setLocalizedText(jButtonStart, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jButtonStart.text")); // NOI18N
        jButtonStart.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonStartActionPerformed(evt);
            }
        });

        org.openide.awt.Mnemonics.setLocalizedText(jButtonStep, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jButtonStep.text")); // NOI18N
        jButtonStep.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonStepActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanelLocalLayout = new javax.swing.GroupLayout(jPanelLocal);
        jPanelLocal.setLayout(jPanelLocalLayout);
        jPanelLocalLayout.setHorizontalGroup(
            jPanelLocalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelLocalLayout.createSequentialGroup()
                .addGroup(jPanelLocalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelLocalLayout.createSequentialGroup()
                        .addComponent(jLabel1)
                        .addGap(16, 16, 16))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelLocalLayout.createSequentialGroup()
                        .addComponent(jButtonStart)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)))
                .addGroup(jPanelLocalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jButtonOpenFile)
                    .addComponent(jButtonStep))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanelLocalLayout.setVerticalGroup(
            jPanelLocalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelLocalLayout.createSequentialGroup()
                .addGroup(jPanelLocalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel1)
                    .addComponent(jButtonOpenFile))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelLocalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jButtonStep)
                    .addComponent(jButtonStart))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanelCommon.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
        jPanelCommon.setPreferredSize(new java.awt.Dimension(814, 34));

        org.openide.awt.Mnemonics.setLocalizedText(jButtonDescription, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jButtonDescription.text")); // NOI18N
        jButtonDescription.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonDescriptionActionPerformed(evt);
            }
        });

        org.openide.awt.Mnemonics.setLocalizedText(jButtonParameters, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jButtonParameters.text")); // NOI18N
        jButtonParameters.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonParametersActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanelOutputLayout = new javax.swing.GroupLayout(jPanelOutput);
        jPanelOutput.setLayout(jPanelOutputLayout);
        jPanelOutputLayout.setHorizontalGroup(
            jPanelOutputLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelOutputLayout.createSequentialGroup()
                .addComponent(jButtonParameters)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jButtonDescription)
                .addGap(0, 10, Short.MAX_VALUE))
        );
        jPanelOutputLayout.setVerticalGroup(
            jPanelOutputLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelOutputLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(jButtonParameters)
                .addComponent(jButtonDescription))
        );

        org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxPrint, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jCheckBoxPrint.text")); // NOI18N

        org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxOutput, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jCheckBoxOutput.text")); // NOI18N

        jTextFieldFileRoot.setText(org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jTextFieldFileRoot.text")); // NOI18N

        jCheckBoxPlot.setSelected(true);
        org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxPlot, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jCheckBoxPlot.text")); // NOI18N

        jTextFieldPlotItems.setText(org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jTextFieldPlotItems.text")); // NOI18N
        jTextFieldPlotItems.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
            public void propertyChange(java.beans.PropertyChangeEvent evt) {
                plotLimitChange(evt);
            }
        });

        org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxShortNames, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jCheckBoxShortNames.text")); // NOI18N
        jCheckBoxShortNames.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jCheckBoxShortNamesActionPerformed(evt);
            }
        });

        jTextFieldFontSize.setText(org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jTextFieldFontSize.text")); // NOI18N
        jTextFieldFontSize.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                focusFontSize(evt);
            }
        });
        jTextFieldFontSize.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
            public void propertyChange(java.beans.PropertyChangeEvent evt) {
                fontSizeChange(evt);
            }
        });

        org.openide.awt.Mnemonics.setLocalizedText(jLabelFont, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jLabelFont.text")); // NOI18N

        javax.swing.GroupLayout jPanelCommonLayout = new javax.swing.GroupLayout(jPanelCommon);
        jPanelCommon.setLayout(jPanelCommonLayout);
        jPanelCommonLayout.setHorizontalGroup(
            jPanelCommonLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelCommonLayout.createSequentialGroup()
                .addComponent(jCheckBoxPrint)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jCheckBoxOutput)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTextFieldFileRoot, javax.swing.GroupLayout.PREFERRED_SIZE, 175, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jCheckBoxPlot)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTextFieldPlotItems, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(5, 5, 5)
                .addComponent(jLabelFont)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTextFieldFontSize, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jCheckBoxShortNames)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanelOutput, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanelCommonLayout.setVerticalGroup(
            jPanelCommonLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanelOutput, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelCommonLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(jCheckBoxPrint)
                .addComponent(jCheckBoxOutput)
                .addComponent(jTextFieldFileRoot, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addComponent(jCheckBoxPlot)
                .addComponent(jTextFieldPlotItems, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addComponent(jCheckBoxShortNames)
                .addComponent(jTextFieldFontSize, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addComponent(jLabelFont, javax.swing.GroupLayout.DEFAULT_SIZE, 29, Short.MAX_VALUE))
        );

        jPanelRemote.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));

        org.openide.awt.Mnemonics.setLocalizedText(jButtonRemote, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jButtonRemote.text")); // NOI18N
        jButtonRemote.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonRemoteActionPerformed(evt);
            }
        });

        jTextFieldHost.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        jTextFieldHost.setText(org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jTextFieldHost.text")); // NOI18N

        jTextFieldFreq.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        jTextFieldFreq.setText(org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jTextFieldFreq.text")); // NOI18N

        org.openide.awt.Mnemonics.setLocalizedText(jLabelFreq, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jLabelFreq.text")); // NOI18N

        jTextFieldPort.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        jTextFieldPort.setText(org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jTextFieldPort.text")); // NOI18N
        jTextFieldPort.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextFieldPortActionPerformed(evt);
            }
        });

        org.openide.awt.Mnemonics.setLocalizedText(jLabelHost, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jLabelHost.text")); // NOI18N

        org.openide.awt.Mnemonics.setLocalizedText(jLabelPort, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jLabelPort.text")); // NOI18N

        org.openide.awt.Mnemonics.setLocalizedText(jButtonShutdown, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jButtonShutdown.text")); // NOI18N
        jButtonShutdown.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonShutdownActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanelRemoteLayout = new javax.swing.GroupLayout(jPanelRemote);
        jPanelRemote.setLayout(jPanelRemoteLayout);
        jPanelRemoteLayout.setHorizontalGroup(
            jPanelRemoteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelRemoteLayout.createSequentialGroup()
                .addGap(6, 6, 6)
                .addComponent(jLabelHost)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTextFieldHost, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jLabelPort)
                .addGap(6, 6, 6)
                .addComponent(jTextFieldPort, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
            .addGroup(jPanelRemoteLayout.createSequentialGroup()
                .addComponent(jButtonRemote)
                .addGap(22, 22, 22)
                .addComponent(jButtonShutdown)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabelFreq)
                .addGap(2, 2, 2)
                .addComponent(jTextFieldFreq, javax.swing.GroupLayout.PREFERRED_SIZE, 28, javax.swing.GroupLayout.PREFERRED_SIZE))
        );
        jPanelRemoteLayout.setVerticalGroup(
            jPanelRemoteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelRemoteLayout.createSequentialGroup()
                .addGroup(jPanelRemoteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelRemoteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jButtonRemote)
                        .addComponent(jButtonShutdown))
                    .addComponent(jLabelFreq))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelRemoteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextFieldHost, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelHost)
                    .addComponent(jLabelPort)
                    .addComponent(jTextFieldPort, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addGroup(jPanelRemoteLayout.createSequentialGroup()
                .addComponent(jTextFieldFreq, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
        );

        jPanelFile.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));

        jLabelTime.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
        org.openide.awt.Mnemonics.setLocalizedText(jLabelTime, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jLabelTime.text")); // NOI18N

        org.openide.awt.Mnemonics.setLocalizedText(jLabelFilename, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jLabelFilename.text")); // NOI18N

        org.openide.awt.Mnemonics.setLocalizedText(jLabel6, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jLabel6.text")); // NOI18N

        jTextFieldControllersDir.setText(org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jTextFieldControllersDir.text")); // NOI18N

        javax.swing.GroupLayout jPanelFileLayout = new javax.swing.GroupLayout(jPanelFile);
        jPanelFile.setLayout(jPanelFileLayout);
        jPanelFileLayout.setHorizontalGroup(
            jPanelFileLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelFileLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jLabel6)
                .addGap(18, 18, 18)
                .addComponent(jTextFieldControllersDir, javax.swing.GroupLayout.PREFERRED_SIZE, 290, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 17, Short.MAX_VALUE))
            .addGroup(jPanelFileLayout.createSequentialGroup()
                .addComponent(jLabelTime, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabelFilename, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanelFileLayout.setVerticalGroup(
            jPanelFileLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelFileLayout.createSequentialGroup()
                .addGroup(jPanelFileLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelTime)
                    .addComponent(jLabelFilename))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelFileLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel6)
                    .addComponent(jTextFieldControllersDir, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jPanelControlsLayout = new javax.swing.GroupLayout(jPanelControls);
        jPanelControls.setLayout(jPanelControlsLayout);
        jPanelControlsLayout.setHorizontalGroup(
            jPanelControlsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelControlsLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelControlsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanelCommon, javax.swing.GroupLayout.DEFAULT_SIZE, 844, Short.MAX_VALUE)
                    .addGroup(jPanelControlsLayout.createSequentialGroup()
                        .addComponent(jPanelLocal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jPanelRemote, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jPanelFile, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap())
        );
        jPanelControlsLayout.setVerticalGroup(
            jPanelControlsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelControlsLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelControlsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(jPanelFile, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanelLocal, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                    .addComponent(jPanelRemote, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanelCommon, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel1.add(jPanelControls, java.awt.BorderLayout.PAGE_END);

        mainPanel.add(jPanel1, java.awt.BorderLayout.CENTER);

        add(mainPanel, java.awt.BorderLayout.CENTER);
    }// </editor-fold>                       

    private class TimeLabelListener implements PropertyChangeListener {

        @Override
        public void propertyChange(PropertyChangeEvent evt) {
            if (ControlHierarchyEventMonitor.TIME.equals(evt.getPropertyName())) {
                jLabelTime.setText((String) evt.getNewValue());
            }
        }
    }

    private void jButtonStartActionPerformed(java.awt.event.ActionEvent evt) {                                             
        cph.setStep(false);
        if ("Start".equals(jButtonStart.getText()) || "Resume".equals(jButtonStart.getText())) {
            if ("Start".equals(jButtonStart.getText())) {
                try {
                    cph.init();
                } catch (Exception ex) {
                    //LOG.warning(ex.toString());
                    Logger.getLogger(ControlPanelTopComponent.class.getName()).log(Level.SEVERE, null, ex);
                    LOG.warning("System exitint");
                    System.exit(0);
                }
            }
            LOG.info("+++ start ");
            if (cph.isFinished()) {
                plotPanelHelper.empty();
            }
            jButtonStart.setText("Stop");
            if (cph != null) {
                Thread tt = new Thread(cph);
                tt.start();
                LOG.info("+++ started thread ");
            }
        } else if ("Stop".equals(jButtonStart.getText())) {
            LOG.info("+++ stop ");
            jButtonStart.setText("Resume");
            if (cph != null) {
                cph.setStep(true);
                try {
                    cph.stop();
                } catch (Exception ex) {
                    Logger.getLogger(ControlPanelTopComponent.class.getName()).log(Level.SEVERE, null, ex);
                }
            }
        }


    }                                           

    private String getOutputFileName(String file) {

        String home = System.getProperty("user.home");
        String os = System.getProperty("os.name");
        File dir;
        if (os.equalsIgnoreCase("linux")) {
            dir = new File(home + "/tmp/PCT/");
            if (!dir.exists()) {
                dir.mkdir();
            }
        } else {
            dir = new File(home + "\\tmp\\PCT\\Controllers\\");
            if (!dir.exists()) {
                dir.mkdir();
            }

        }
       
        String outputFile = dir + File.separator + file + ".csv";
        LOG.log(Level.INFO, "Output file path {0}", outputFile);
        File f = new File(outputFile);
        if (f.exists()) {
            f.delete();
        }
        return outputFile;
    }

    @SuppressWarnings("SleepWhileInLoop")
    private void jButtonOpenFileActionPerformed(java.awt.event.ActionEvent evt) {                                               

        LOG.info("+++ openFileAction");
        monitor.clear();

        jButtonStart.setText("Start");
        if (cph != null) {
            try {
                cph.close();
            } catch (Exception ex) {
                Exceptions.printStackTrace(ex);
            }

            if (!jButtonStart.getText().equals("Start")) {
                while (!cph.isFinished()) {
                    LOG.log(Level.INFO, "+++ Waiting for closedown");
                    try {
                        Thread.sleep(2000);
                    } catch (InterruptedException ex) {
                        Exceptions.printStackTrace(ex);
                    }
                }
            }
        }
        jButtonStart.setText("Start");

        int returnVal = jFileChooser.showOpenDialog(super.getComponent(0));

        String currentDir = jFileChooser.getCurrentDirectory().getName();
        LOG.log(Level.INFO, "+++ {0}", currentDir);
        if (!currentDir.equalsIgnoreCase(env)) {
            jFileChooser.setCurrentDirectory(new File(currentDir));
        }

        int pdil = Integer.parseInt(jTextFieldPlotItems.getText());
        if (returnVal == JFileChooser.APPROVE_OPTION) {
            File file = jFileChooser.getSelectedFile();

            LOG.log(Level.INFO, "Opening: {0}.", file.getAbsolutePath());
            try {
                jLabelFilename.setText(file.getName());
                Environment.getInstance().setFilePath(file.getAbsolutePath());
                Environment.getInstance().setFileRoot(file.getName());
                cph = new ControlPanelHelper(file, jCheckBoxPrint.isSelected(), jCheckBoxOutput.isSelected(), monitor, pdil);
                if (jCheckBoxOutput.isSelected()) {
                    jTextFieldFileRoot.setText(Environment.getInstance().getFileRoot().substring(0, Environment.getInstance().getFileRoot().length()));
                    cph.setOutputFile(getOutputFileName(Environment.getInstance().getFileRoot().substring(0, Environment.getInstance().getFileRoot().length())));
                }
                cph.setTimeLabel(jLabelTime);
                cph.constructGUI(jPanelLayers);
                //jPanelPlot.add(cph.getPlotPanel());
                if (jCheckBoxPlot.isSelected()) {

                    Set<TopComponent> setTc = WindowManager.getDefault().getRegistry().getOpened();
                    for (TopComponent tc : setTc) {
                        LOG.info("+++ TC " + tc.getName());
                    }
                    pjp = (PlotPanelTopComponent) WindowManager.getDefault().findTopComponent("PlotPanelTopComponent");
                    if (plotPanelHelper == null) {
                        if (pjp == null) {
                            pjp = new PlotPanelTopComponent(cph);
                        }
                        plotPanelHelper = pjp.getPlotPanelHelper();
                        if (pjp.getCph() == null) {
                            pjp.setCph(cph);
                        }
                        plotPanelHelper.addPlotPanel(pjp, cph);
                    } else {
                        plotPanelHelper.clear();
                        pjp.setCph(cph);
                        plotPanelHelper.updateControllersListModel(cph);
                        plotPanelHelper.loadPlotsResource();
                    }
                    cph.setPlotPanelHelper(plotPanelHelper);
                }
                this.getComponent(0).revalidate();
                this.getComponent(0).repaint();
                //cph.setLayerPanel(jPanelLayers);
            } catch (Exception ex) {
                Logger.getLogger(ControlPanelTopComponent.class.getName()).log(Level.SEVERE, null, ex);
                //  System.exit(0);
            }
        } else {
            LOG.info("Open command cancelled by user.");
        }

    }                                               

    private void jButtonDescriptionActionPerformed(java.awt.event.ActionEvent evt) {                                                   
        JTextArea jTextAreaDescription1 = new JTextArea();
        JFrame descriptionFrame = new JFrame("Description");
        String description = null;
        if (cph == null) {
            description = "Select a controller";
        } else {
            try {
                description = cph.getDescription();
            } catch (Exception ex) {
                Logger.getLogger(ControlPanelTopComponent.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
        descriptionFrame.add(jTextAreaDescription1);

        jTextAreaDescription1.setText(description);

        descriptionFrame.pack();
        descriptionFrame.setVisible(true);
        descriptionFrame.setSize(600, 300);

    }                                                 

    private void jButtonParametersActionPerformed(java.awt.event.ActionEvent evt) {                                                 
        JFrame parametersFrame = new JFrame("Parameters");
        JPanel jPanel = new JPanel();
        JScrollPane jsp = new JScrollPane();
        jsp.setViewportView(jPanel);
        parametersFrame.add(jsp);
        if (cph == null) {
            JTextArea jTextAreaDescription = new JTextArea();
            jPanel.add(jTextAreaDescription);
            jTextAreaDescription.setText("Controller not yet selected");
        } else {
            ParameterslPanelHelper pph = new ParameterslPanelHelper();
            pph.setControlHierarchy(cph.getControlHierarchy());
            pph.constructGUI(jPanel);
        }

        parametersFrame.pack();
        parametersFrame.setVisible(true);
    }                                                 

    private void jButtonStepActionPerformed(java.awt.event.ActionEvent evt) {                                           
        cph.setStep(true);
        //logger.info("+++ step");
        if (cph != null) {
            if (jButtonStart.getText().equalsIgnoreCase("start")) {
                try {
                    cph.init();
                } catch (Exception ex) {
                    Exceptions.printStackTrace(ex);
                }
            }
            jButtonStart.setText("Resume");
            try {
                cph.stop();
            } catch (Exception ex) {
                Logger.getLogger(ControlPanelTopComponent.class.getName()).log(Level.SEVERE, null, ex);
            }
            Thread tt = new Thread(cph);
            tt.start();
            //logger.info("+++ started step thread ");
        }
    }                                           

    @SuppressWarnings("SleepWhileInLoop")
    private void jButtonRemoteActionPerformed(java.awt.event.ActionEvent evt) {                                             
        monitor.clear();
        if (jButtonRemote.getText().equalsIgnoreCase("connect")) {
            try {
                LOG.info("+++ connecting ...");
                try {
                    int pdil = Integer.parseInt(jTextFieldPlotItems.getText());

                    cph = new ControlPanelHelper(jTextFieldHost.getText(),
                            Integer.parseInt(jTextFieldPort.getText()),
                            Integer.parseInt(jTextFieldPort.getText()) + 1,
                            Integer.parseInt(jTextFieldFreq.getText()),
                            jCheckBoxPrint.isSelected(),
                            jCheckBoxOutput.isSelected(),
                            monitor, pdil, jTextFieldControllersDir.getText(), 20000);

                    jTextFieldFileRoot.setText(cph.getOutputFile());
                    cph.setTimeLabel(jLabelTime);
                    cph.constructGUI(jPanelLayers);

                    jLabelFilename.setText(Environment.getInstance().getFileRoot());

                    if (jCheckBoxPlot.isSelected()) {
                        Set<TopComponent> setTc = WindowManager.getDefault().getRegistry().getOpened();
                        for (TopComponent tc : setTc) {
                            LOG.log(Level.INFO, "+++ TC {0}", tc.getName());
                        }
                        pjp = (PlotPanelTopComponent) WindowManager.getDefault().findTopComponent("PlotPanelTopComponent");
                        if (plotPanelHelper == null) {
                            if (pjp == null) {
                                pjp = new PlotPanelTopComponent(cph);
                            }
                            plotPanelHelper = pjp.getPlotPanelHelper();
                            if (pjp.getCph() == null) {
                                pjp.setCph(cph);
                            }
                            plotPanelHelper.addPlotPanel(pjp, cph);
                        } else {
                            plotPanelHelper.clear();
                            pjp.setCph(cph);
                            plotPanelHelper.updateControllersListModel(cph);
                            plotPanelHelper.loadPlotsResource();
                        }
                        cph.setPlotPanelHelper(plotPanelHelper);
                    }
                    jButtonRemote.setText("Disconnect");
                } catch (Exception ex) {
                    Logger.getLogger(ControlPanelTopComponent.class.getName()).log(Level.SEVERE, null, ex);
                    //  System.exit(0);
                }

                if (cph != null) {
                    Thread tt = new Thread(cph);
                    tt.start();
                    LOG.info("+++ started cph thread ");
                }

            } catch (NumberFormatException ex) {
                Exceptions.printStackTrace(ex);
            }
        } else {
            disconnect();
        }

    }                                             

    private void disconnect() {
        LOG.info("+++ disconnecting ...");
        try {
            if (cph != null) {
                cph.stop();
                cph.close();
            }
        } catch (Exception ex) {
            Logger.getLogger(ControlPanelTopComponent.class.getName()).log(Level.SEVERE, null, ex);
        }

        jButtonRemote.setText("Connect");
    }

    private void jTextFieldPortActionPerformed(java.awt.event.ActionEvent evt) {                                               
        // TODO add your handling code here:
    }                                             

    private void jCheckBoxShortNamesActionPerformed(java.awt.event.ActionEvent evt) {                                                   
        Environment.getInstance().setShortNames(jCheckBoxShortNames.isSelected());
    }                                                   

    private void jButtonShutdownActionPerformed(java.awt.event.ActionEvent evt) {                                               

        if (cph != null) {
            cph.shutdown();
        }

        disconnect();
    }                                               

    private void plotLimitChange(java.beans.PropertyChangeEvent evt) {                                 
        if (cph != null) {
            cph.setPlotDataItemsLimit(Integer.parseInt(jTextFieldPlotItems.getText()));
        }
    }                               

    private void fontSizeChange(java.beans.PropertyChangeEvent evt) {                               
        //Environment.getInstance().setFontSize(Integer.parseInt(jTextFieldFontSize.getText()));
    }                               

    private void focusFontSize(java.awt.event.FocusEvent evt) {                               
        Environment.getInstance().setFontSize(Integer.parseInt(jTextFieldFontSize.getText()));
    }                             

    // Variables declaration - do not modify                     
    private javax.swing.JButton jButtonDescription;
    private javax.swing.JButton jButtonOpenFile;
    private javax.swing.JButton jButtonParameters;
    private javax.swing.JButton jButtonRemote;
    private javax.swing.JButton jButtonShutdown;
    private javax.swing.JButton jButtonStart;
    private javax.swing.JButton jButtonStep;
    private javax.swing.JCheckBox jCheckBoxOutput;
    private javax.swing.JCheckBox jCheckBoxPlot;
    private javax.swing.JCheckBox jCheckBoxPrint;
    private javax.swing.JCheckBox jCheckBoxShortNames;
    private javax.swing.JFileChooser jFileChooser;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabelFilename;
    private javax.swing.JLabel jLabelFont;
    private javax.swing.JLabel jLabelFreq;
    private javax.swing.JLabel jLabelHost;
    private javax.swing.JLabel jLabelPort;
    private javax.swing.JLabel jLabelTime;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanelCommon;
    private javax.swing.JPanel jPanelControls;
    private javax.swing.JPanel jPanelFile;
    private javax.swing.JPanel jPanelLayers;
    private javax.swing.JPanel jPanelLocal;
    private javax.swing.JPanel jPanelMainLayers;
    private javax.swing.JPanel jPanelOutput;
    private javax.swing.JPanel jPanelRemote;
    private javax.swing.JTextField jTextFieldControllersDir;
    private javax.swing.JTextField jTextFieldFileRoot;
    private javax.swing.JTextField jTextFieldFontSize;
    private javax.swing.JTextField jTextFieldFreq;
    private javax.swing.JTextField jTextFieldHost;
    private javax.swing.JTextField jTextFieldPlotItems;
    private javax.swing.JTextField jTextFieldPort;
    private javax.swing.JPanel mainPanel;
    // End of variables declaration                   
    private ControlPanelHelper cph;
    private boolean connected = false;
    //private DefaultListModel functionsListModel = null;
    private HashMap<String, String> hmFunctions;
    private List<String> selectedFunctions = null;
    private PlotPanelHelper plotPanelHelper = null;
    private PlotPanelTopComponent pjp = null;
    private ControlHierarchyEventMonitor monitor;
    private ControlDataClient mc = null;
    private String env = null;

    @Override
    public void componentOpened() {
        // TODO add custom code on component opening
    }

    @Override
    public void componentClosed() {
        // TODO add custom code on component closing
    }

    void writeProperties(java.util.Properties p) {
        // better to version settings since initial version as advocated at
        // http://wiki.apidesign.org/wiki/PropertyFiles
        p.setProperty("version", "1.0");
        // TODO store your settings
    }

    void readProperties(java.util.Properties p) {
        String version = p.getProperty("version");
        // TODO read your settings according to their version
    }
}
Back to top
geertjan



Joined: 22 Jan 2014
Posts: 979

PostPosted: Thu Mar 09, 2017 9:15 pm    Post subject: TopComponent not running Reply with quote

On 9-3-2017 21:19, ruperty wrote:
Quote:

Not sure where I'd start on that without rebuilding the entire project, as I don't know what the issue might be.

The installer worked about 8 months ago, on Linux, but doesn't now. Something I've done recently is delete some of the menus, through XML Layer. Might that be an issue?

If you think that's the issue, why not show the code from the layer.xml
file, instead of the TopComponent code?

Best of all would be if you'd put your application on GitHub or
somewhere where someone can take a look at it, right now, pretty much
impossible to help you, the code below isn't applicable at all since you
point out that the application worked until your tweaked the layer.xml file.

Gj


Quote:

Wasn't sure what code to post, but here's the main topcomponent maybe that will help.



Code:

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package uk.co.moonsit.gui.controlpanel.core;

import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JFileChooser;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import org.netbeans.api.settings.ConvertAsProperties;
import org.openide.awt.ActionID;
import org.openide.awt.ActionReference;
import org.openide.util.Exceptions;
import org.openide.util.NbBundle.Messages;
import org.openide.windows.TopComponent;
import org.openide.windows.WindowManager;
import uk.co.moons.gui.components.ControlHierarchyEventMonitor;
import uk.co.moons.gui.controlpanel.helper.ControlPanelHelper;
import uk.co.moons.gui.controlpanel.helper.ParameterslPanelHelper;
import uk.co.moons.gui.controlpanel.helper.PlotPanelHelper;
import uk.co.moonsit.utils.Environment;
import uk.co.moonsit.sockets.ControlDataClient;

/**
* Top component which displays something.
*/
@ConvertAsProperties(
dtd = "-//uk.co.moonsit.gui.controlpanel.core//ControlPanel//EN",
autostore = false)
@TopComponent.Description(
preferredID = "ControlPanelTopComponent",
//iconBase="SET/PATH/TO/ICON/HERE",
persistenceType = TopComponent.PERSISTENCE_ALWAYS)
@TopComponent.Registration(mode = "editor", openAtStartup = true)
@ActionID(category = "Window", id = "uk.co.moonsit.gui.controlpanel.core.ControlPanelTopComponent")
@ActionReference(path = "Menu/Window" /*, position = 333 */)
@TopComponent.OpenActionRegistration(
displayName = "#CTL_ControlPanelAction",
preferredID = "ControlPanelTopComponent")
@Messages({
"CTL_ControlPanelAction=ControlPanel",
"CTL_ControlPanelTopComponent=ControlPanel Window",
"HINT_ControlPanelTopComponent=This is a ControlPanel window"
})
public final class ControlPanelTopComponent extends TopComponent {

static final Logger LOG = Logger.getLogger(ControlPanelTopComponent.class.getName());

public ControlPanelTopComponent() {
initComponents();

{
env = System.getenv("CPA_CONTROLLERS");
if (env == null) {
jTextFieldControllersDir.setText("CPA_CONTROLLERS environmental variable not set");
} else {
jTextFieldControllersDir.setText(env);
}
}
{
String env = System.getenv("EV3_IP");
if (env == null) {
jTextFieldHost.setText("EV3_IP environmental variable not set");
} else {
jTextFieldHost.setText(env);
}
}
jFileChooser.setCurrentDirectory(new File(jTextFieldControllersDir.getText()));
Environment.getInstance().setShortNames(jCheckBoxShortNames.isSelected());

setName(Bundle.CTL_ControlPanelTopComponent());
setToolTipText(Bundle.HINT_ControlPanelTopComponent());

}

/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {

jFileChooser = new javax.swing.JFileChooser();
mainPanel = new javax.swing.JPanel();
jPanel1 = new javax.swing.JPanel();
jPanelMainLayers = new javax.swing.JPanel();
jPanelLayers = new javax.swing.JPanel();
jPanelControls = new javax.swing.JPanel();
jPanelLocal = new javax.swing.JPanel();
jLabel1 = new javax.swing.JLabel();
jButtonOpenFile = new javax.swing.JButton();
jButtonStart = new javax.swing.JButton();
jButtonStep = new javax.swing.JButton();
jPanelCommon = new javax.swing.JPanel();
jPanelOutput = new javax.swing.JPanel();
jButtonDescription = new javax.swing.JButton();
jButtonParameters = new javax.swing.JButton();
jCheckBoxPrint = new javax.swing.JCheckBox();
jCheckBoxOutput = new javax.swing.JCheckBox();
jTextFieldFileRoot = new javax.swing.JTextField();
jCheckBoxPlot = new javax.swing.JCheckBox();
jTextFieldPlotItems = new javax.swing.JTextField();
jCheckBoxShortNames = new javax.swing.JCheckBox();
jTextFieldFontSize = new javax.swing.JTextField();
jLabelFont = new javax.swing.JLabel();
jPanelRemote = new javax.swing.JPanel();
jButtonRemote = new javax.swing.JButton();
jTextFieldHost = new javax.swing.JTextField();
jTextFieldFreq = new javax.swing.JTextField();
jLabelFreq = new javax.swing.JLabel();
jTextFieldPort = new javax.swing.JTextField();
jLabelHost = new javax.swing.JLabel();
jLabelPort = new javax.swing.JLabel();
jButtonShutdown = new javax.swing.JButton();
jPanelFile = new javax.swing.JPanel();
jLabelTime = new javax.swing.JLabel();
monitor = new ControlHierarchyEventMonitor();
monitor.addTimePropertyChangeListener(new TimeLabelListener());
jLabelFilename = new javax.swing.JLabel();
jLabel6 = new javax.swing.JLabel();
jTextFieldControllersDir = new javax.swing.JTextField();

setPreferredSize(new java.awt.Dimension(800, 644));
setLayout(new java.awt.BorderLayout());

mainPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(51, 153, 255)));
mainPanel.setLayout(new java.awt.BorderLayout());

jPanel1.setBorder(javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(255, 0, 51)));
jPanel1.setLayout(new java.awt.BorderLayout());

jPanelMainLayers.setBorder(javax.swing.BorderFactory.createEtchedBorder());
jPanelMainLayers.setLayout(new java.awt.BorderLayout());

javax.swing.GroupLayout jPanelLayersLayout = new javax.swing.GroupLayout(jPanelLayers);
jPanelLayers.setLayout(jPanelLayersLayout);
jPanelLayersLayout.setHorizontalGroup(
jPanelLayersLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 860, Short.MAX_VALUE)
);
jPanelLayersLayout.setVerticalGroup(
jPanelLayersLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 516, Short.MAX_VALUE)
);

jPanelMainLayers.add(jPanelLayers, java.awt.BorderLayout.CENTER);

jPanel1.add(jPanelMainLayers, java.awt.BorderLayout.CENTER);

jPanelControls.setPreferredSize(new java.awt.Dimension(750, 120));

jPanelLocal.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));

jLabel1.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jLabel1.text")); // NOI18N

org.openide.awt.Mnemonics.setLocalizedText(jButtonOpenFile, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jButtonOpenFile.text")); // NOI18N
jButtonOpenFile.setActionCommand(org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jButtonOpenFile.actionCommand")); // NOI18N
jButtonOpenFile.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButtonOpenFileActionPerformed(evt);
}
});

org.openide.awt.Mnemonics.setLocalizedText(jButtonStart, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jButtonStart.text")); // NOI18N
jButtonStart.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButtonStartActionPerformed(evt);
}
});

org.openide.awt.Mnemonics.setLocalizedText(jButtonStep, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jButtonStep.text")); // NOI18N
jButtonStep.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButtonStepActionPerformed(evt);
}
});

javax.swing.GroupLayout jPanelLocalLayout = new javax.swing.GroupLayout(jPanelLocal);
jPanelLocal.setLayout(jPanelLocalLayout);
jPanelLocalLayout.setHorizontalGroup(
jPanelLocalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelLocalLayout.createSequentialGroup()
.addGroup(jPanelLocalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelLocalLayout.createSequentialGroup()
.addComponent(jLabel1)
.addGap(16, 16, 16))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelLocalLayout.createSequentialGroup()
.addComponent(jButtonStart)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)))
.addGroup(jPanelLocalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(jButtonOpenFile)
.addComponent(jButtonStep))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanelLocalLayout.setVerticalGroup(
jPanelLocalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelLocalLayout.createSequentialGroup()
.addGroup(jPanelLocalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel1)
.addComponent(jButtonOpenFile))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanelLocalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jButtonStep)
.addComponent(jButtonStart))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);

jPanelCommon.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
jPanelCommon.setPreferredSize(new java.awt.Dimension(814, 34));

org.openide.awt.Mnemonics.setLocalizedText(jButtonDescription, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jButtonDescription.text")); // NOI18N
jButtonDescription.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButtonDescriptionActionPerformed(evt);
}
});

org.openide.awt.Mnemonics.setLocalizedText(jButtonParameters, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jButtonParameters.text")); // NOI18N
jButtonParameters.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButtonParametersActionPerformed(evt);
}
});

javax.swing.GroupLayout jPanelOutputLayout = new javax.swing.GroupLayout(jPanelOutput);
jPanelOutput.setLayout(jPanelOutputLayout);
jPanelOutputLayout.setHorizontalGroup(
jPanelOutputLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelOutputLayout.createSequentialGroup()
.addComponent(jButtonParameters)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jButtonDescription)
.addGap(0, 10, Short.MAX_VALUE))
);
jPanelOutputLayout.setVerticalGroup(
jPanelOutputLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelOutputLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jButtonParameters)
.addComponent(jButtonDescription))
);

org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxPrint, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jCheckBoxPrint.text")); // NOI18N

org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxOutput, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jCheckBoxOutput.text")); // NOI18N

jTextFieldFileRoot.setText(org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jTextFieldFileRoot.text")); // NOI18N

jCheckBoxPlot.setSelected(true);
org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxPlot, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jCheckBoxPlot.text")); // NOI18N

jTextFieldPlotItems.setText(org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jTextFieldPlotItems.text")); // NOI18N
jTextFieldPlotItems.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
public void propertyChange(java.beans.PropertyChangeEvent evt) {
plotLimitChange(evt);
}
});

org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxShortNames, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jCheckBoxShortNames.text")); // NOI18N
jCheckBoxShortNames.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jCheckBoxShortNamesActionPerformed(evt);
}
});

jTextFieldFontSize.setText(org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jTextFieldFontSize.text")); // NOI18N
jTextFieldFontSize.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
focusFontSize(evt);
}
});
jTextFieldFontSize.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
public void propertyChange(java.beans.PropertyChangeEvent evt) {
fontSizeChange(evt);
}
});

org.openide.awt.Mnemonics.setLocalizedText(jLabelFont, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jLabelFont.text")); // NOI18N

javax.swing.GroupLayout jPanelCommonLayout = new javax.swing.GroupLayout(jPanelCommon);
jPanelCommon.setLayout(jPanelCommonLayout);
jPanelCommonLayout.setHorizontalGroup(
jPanelCommonLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelCommonLayout.createSequentialGroup()
.addComponent(jCheckBoxPrint)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jCheckBoxOutput)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jTextFieldFileRoot, javax.swing.GroupLayout.PREFERRED_SIZE, 175, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jCheckBoxPlot)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jTextFieldPlotItems, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(5, 5, 5)
.addComponent(jLabelFont)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jTextFieldFontSize, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jCheckBoxShortNames)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jPanelOutput, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanelCommonLayout.setVerticalGroup(
jPanelCommonLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanelOutput, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelCommonLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jCheckBoxPrint)
.addComponent(jCheckBoxOutput)
.addComponent(jTextFieldFileRoot, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jCheckBoxPlot)
.addComponent(jTextFieldPlotItems, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jCheckBoxShortNames)
.addComponent(jTextFieldFontSize, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabelFont, javax.swing.GroupLayout.DEFAULT_SIZE, 29, Short.MAX_VALUE))
);

jPanelRemote.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));

org.openide.awt.Mnemonics.setLocalizedText(jButtonRemote, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jButtonRemote.text")); // NOI18N
jButtonRemote.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButtonRemoteActionPerformed(evt);
}
});

jTextFieldHost.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
jTextFieldHost.setText(org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jTextFieldHost.text")); // NOI18N

jTextFieldFreq.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
jTextFieldFreq.setText(org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jTextFieldFreq.text")); // NOI18N

org.openide.awt.Mnemonics.setLocalizedText(jLabelFreq, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jLabelFreq.text")); // NOI18N

jTextFieldPort.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
jTextFieldPort.setText(org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jTextFieldPort.text")); // NOI18N
jTextFieldPort.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTextFieldPortActionPerformed(evt);
}
});

org.openide.awt.Mnemonics.setLocalizedText(jLabelHost, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jLabelHost.text")); // NOI18N

org.openide.awt.Mnemonics.setLocalizedText(jLabelPort, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jLabelPort.text")); // NOI18N

org.openide.awt.Mnemonics.setLocalizedText(jButtonShutdown, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jButtonShutdown.text")); // NOI18N
jButtonShutdown.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButtonShutdownActionPerformed(evt);
}
});

javax.swing.GroupLayout jPanelRemoteLayout = new javax.swing.GroupLayout(jPanelRemote);
jPanelRemote.setLayout(jPanelRemoteLayout);
jPanelRemoteLayout.setHorizontalGroup(
jPanelRemoteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelRemoteLayout.createSequentialGroup()
.addGap(6, 6, 6)
.addComponent(jLabelHost)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jTextFieldHost, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 1Cool
.addComponent(jLabelPort)
.addGap(6, 6, 6)
.addComponent(jTextFieldPort, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(jPanelRemoteLayout.createSequentialGroup()
.addComponent(jButtonRemote)
.addGap(22, 22, 22)
.addComponent(jButtonShutdown)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabelFreq)
.addGap(2, 2, 2)
.addComponent(jTextFieldFreq, javax.swing.GroupLayout.PREFERRED_SIZE, 28, javax.swing.GroupLayout.PREFERRED_SIZE))
);
jPanelRemoteLayout.setVerticalGroup(
jPanelRemoteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelRemoteLayout.createSequentialGroup()
.addGroup(jPanelRemoteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelRemoteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jButtonRemote)
.addComponent(jButtonShutdown))
.addComponent(jLabelFreq))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanelRemoteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jTextFieldHost, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabelHost)
.addComponent(jLabelPort)
.addComponent(jTextFieldPort, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGroup(jPanelRemoteLayout.createSequentialGroup()
.addComponent(jTextFieldFreq, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, Short.MAX_VALUE))
);

jPanelFile.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));

jLabelTime.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
org.openide.awt.Mnemonics.setLocalizedText(jLabelTime, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jLabelTime.text")); // NOI18N

org.openide.awt.Mnemonics.setLocalizedText(jLabelFilename, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jLabelFilename.text")); // NOI18N

org.openide.awt.Mnemonics.setLocalizedText(jLabel6, org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jLabel6.text")); // NOI18N

jTextFieldControllersDir.setText(org.openide.util.NbBundle.getMessage(ControlPanelTopComponent.class, "ControlPanelTopComponent.jTextFieldControllersDir.text")); // NOI18N

javax.swing.GroupLayout jPanelFileLayout = new javax.swing.GroupLayout(jPanelFile);
jPanelFile.setLayout(jPanelFileLayout);
jPanelFileLayout.setHorizontalGroup(
jPanelFileLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelFileLayout.createSequentialGroup()
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel6)
.addGap(18, 18, 1Cool
.addComponent(jTextFieldControllersDir, javax.swing.GroupLayout.PREFERRED_SIZE, 290, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 17, Short.MAX_VALUE))
.addGroup(jPanelFileLayout.createSequentialGroup()
.addComponent(jLabelTime, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jLabelFilename, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addContainerGap())
);
jPanelFileLayout.setVerticalGroup(
jPanelFileLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelFileLayout.createSequentialGroup()
.addGroup(jPanelFileLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabelTime)
.addComponent(jLabelFilename))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanelFileLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel6)
.addComponent(jTextFieldControllersDir, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);

javax.swing.GroupLayout jPanelControlsLayout = new javax.swing.GroupLayout(jPanelControls);
jPanelControls.setLayout(jPanelControlsLayout);
jPanelControlsLayout.setHorizontalGroup(
jPanelControlsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelControlsLayout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanelControlsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanelCommon, javax.swing.GroupLayout.DEFAULT_SIZE, 844, Short.MAX_VALUE)
.addGroup(jPanelControlsLayout.createSequentialGroup()
.addComponent(jPanelLocal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jPanelRemote, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jPanelFile, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, Short.MAX_VALUE)))
.addContainerGap())
);
jPanelControlsLayout.setVerticalGroup(
jPanelControlsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelControlsLayout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanelControlsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
.addComponent(jPanelFile, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanelLocal, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
.addComponent(jPanelRemote, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jPanelCommon, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);

jPanel1.add(jPanelControls, java.awt.BorderLayout.PAGE_END);

mainPanel.add(jPanel1, java.awt.BorderLayout.CENTER);

add(mainPanel, java.awt.BorderLayout.CENTER);
}// </editor-fold>

private class TimeLabelListener implements PropertyChangeListener {

@Override
public void propertyChange(PropertyChangeEvent evt) {
if (ControlHierarchyEventMonitor.TIME.equals(evt.getPropertyName())) {
jLabelTime.setText((String) evt.getNewValue());
}
}
}

private void jButtonStartActionPerformed(java.awt.event.ActionEvent evt) {
cph.setStep(false);
if ("Start".equals(jButtonStart.getText()) || "Resume".equals(jButtonStart.getText())) {
if ("Start".equals(jButtonStart.getText())) {
try {
cph.init();
} catch (Exception ex) {
//LOG.warning(ex.toString());
Logger.getLogger(ControlPanelTopComponent.class.getName()).log(Level.SEVERE, null, ex);
LOG.warning("System exitint");
System.exit(0);
}
}
LOG.info("+++ start ");
if (cph.isFinished()) {
plotPanelHelper.empty();
}
jButtonStart.setText("Stop");
if (cph != null) {
Thread tt = new Thread(cph);
tt.start();
LOG.info("+++ started thread ");
}
} else if ("Stop".equals(jButtonStart.getText())) {
LOG.info("+++ stop ");
jButtonStart.setText("Resume");
if (cph != null) {
cph.setStep(true);
try {
cph.stop();
} catch (Exception ex) {
Logger.getLogger(ControlPanelTopComponent.class.getName()).log(Level.SEVERE, null, ex);
}
}
}


}

private String getOutputFileName(String file) {

String home = System.getProperty("user.home");
String os = System.getProperty("os.name");
File dir;
if (os.equalsIgnoreCase("linux")) {
dir = new File(home + "/tmp/PCT/");
if (!dir.exists()) {
dir.mkdir();
}
} else {
dir = new File(home + "\\tmp\\PCT\\Controllers\\");
if (!dir.exists()) {
dir.mkdir();
}

}

String outputFile = dir + File.separator + file + ".csv";
LOG.log(Level.INFO, "Output file path {0}", outputFile);
File f = new File(outputFile);
if (f.exists()) {
f.delete();
}
return outputFile;
}

@SuppressWarnings("SleepWhileInLoop")
private void jButtonOpenFileActionPerformed(java.awt.event.ActionEvent evt) {

LOG.info("+++ openFileAction");
monitor.clear();

jButtonStart.setText("Start");
if (cph != null) {
try {
cph.close();
} catch (Exception ex) {
Exceptions.printStackTrace(ex);
}

if (!jButtonStart.getText().equals("Start")) {
while (!cph.isFinished()) {
LOG.log(Level.INFO, "+++ Waiting for closedown");
try {
Thread.sleep(2000);
} catch (InterruptedException ex) {
Exceptions.printStackTrace(ex);
}
}
}
}
jButtonStart.setText("Start");

int returnVal = jFileChooser.showOpenDialog(super.getComponent(0));

String currentDir = jFileChooser.getCurrentDirectory().getName();
LOG.log(Level.INFO, "+++ {0}", currentDir);
if (!currentDir.equalsIgnoreCase(env)) {
jFileChooser.setCurrentDirectory(new File(currentDir));
}

int pdil = Integer.parseInt(jTextFieldPlotItems.getText());
if (returnVal == JFileChooser.APPROVE_OPTION) {
File file = jFileChooser.getSelectedFile();

LOG.log(Level.INFO, "Opening: {0}.", file.getAbsolutePath());
try {
jLabelFilename.setText(file.getName());
Environment.getInstance().setFilePath(file.getAbsolutePath());
Environment.getInstance().setFileRoot(file.getName());
cph = new ControlPanelHelper(file, jCheckBoxPrint.isSelected(), jCheckBoxOutput.isSelected(), monitor, pdil);
if (jCheckBoxOutput.isSelected()) {
jTextFieldFileRoot.setText(Environment.getInstance().getFileRoot().substring(0, Environment.getInstance().getFileRoot().length()));
cph.setOutputFile(getOutputFileName(Environment.getInstance().getFileRoot().substring(0, Environment.getInstance().getFileRoot().length())));
}
cph.setTimeLabel(jLabelTime);
cph.constructGUI(jPanelLayers);
//jPanelPlot.add(cph.getPlotPanel());
if (jCheckBoxPlot.isSelected()) {

Set<TopComponent> setTc = WindowManager.getDefault().getRegistry().getOpened();
for (TopComponent tc : setTc) {
LOG.info("+++ TC " + tc.getName());
}
pjp = (PlotPanelTopComponent) WindowManager.getDefault().findTopComponent("PlotPanelTopComponent");
if (plotPanelHelper == null) {
if (pjp == null) {
pjp = new PlotPanelTopComponent(cph);
}
plotPanelHelper = pjp.getPlotPanelHelper();
if (pjp.getCph() == null) {
pjp.setCph(cph);
}
plotPanelHelper.addPlotPanel(pjp, cph);
} else {
plotPanelHelper.clear();
pjp.setCph(cph);
plotPanelHelper.updateControllersListModel(cph);
plotPanelHelper.loadPlotsResource();
}
cph.setPlotPanelHelper(plotPanelHelper);
}
this.getComponent(0).revalidate();
this.getComponent(0).repaint();
//cph.setLayerPanel(jPanelLayers);
} catch (Exception ex) {
Logger.getLogger(ControlPanelTopComponent.class.getName()).log(Level.SEVERE, null, ex);
// System.exit(0);
}
} else {
LOG.info("Open command cancelled by user.");
}

}

private void jButtonDescriptionActionPerformed(java.awt.event.ActionEvent evt) {
JTextArea jTextAreaDescription1 = new JTextArea();
JFrame descriptionFrame = new JFrame("Description");
String description = null;
if (cph == null) {
description = "Select a controller";
} else {
try {
description = cph.getDescription();
} catch (Exception ex) {
Logger.getLogger(ControlPanelTopComponent.class.getName()).log(Level.SEVERE, null, ex);
}
}
descriptionFrame.add(jTextAreaDescription1);

jTextAreaDescription1.setText(description);

descriptionFrame.pack();
descriptionFrame.setVisible(true);
descriptionFrame.setSize(600, 300);

}

private void jButtonParametersActionPerformed(java.awt.event.ActionEvent evt) {
JFrame parametersFrame = new JFrame("Parameters");
JPanel jPanel = new JPanel();
JScrollPane jsp = new JScrollPane();
jsp.setViewportView(jPanel);
parametersFrame.add(jsp);
if (cph == null) {
JTextArea jTextAreaDescription = new JTextArea();
jPanel.add(jTextAreaDescription);
jTextAreaDescription.setText("Controller not yet selected");
} else {
ParameterslPanelHelper pph = new ParameterslPanelHelper();
pph.setControlHierarchy(cph.getControlHierarchy());
pph.constructGUI(jPanel);
}

parametersFrame.pack();
parametersFrame.setVisible(true);
}

private void jButtonStepActionPerformed(java.awt.event.ActionEvent evt) {
cph.setStep(true);
//logger.info("+++ step");
if (cph != null) {
if (jButtonStart.getText().equalsIgnoreCase("start")) {
try {
cph.init();
} catch (Exception ex) {
Exceptions.printStackTrace(ex);
}
}
jButtonStart.setText("Resume");
try {
cph.stop();
} catch (Exception ex) {
Logger.getLogger(ControlPanelTopComponent.class.getName()).log(Level.SEVERE, null, ex);
}
Thread tt = new Thread(cph);
tt.start();
//logger.info("+++ started step thread ");
}
}

@SuppressWarnings("SleepWhileInLoop")
private void jButtonRemoteActionPerformed(java.awt.event.ActionEvent evt) {
monitor.clear();
if (jButtonRemote.getText().equalsIgnoreCase("connect")) {
try {
LOG.info("+++ connecting ...");
try {
int pdil = Integer.parseInt(jTextFieldPlotItems.getText());

cph = new ControlPanelHelper(jTextFieldHost.getText(),
Integer.parseInt(jTextFieldPort.getText()),
Integer.parseInt(jTextFieldPort.getText()) + 1,
Integer.parseInt(jTextFieldFreq.getText()),
jCheckBoxPrint.isSelected(),
jCheckBoxOutput.isSelected(),
monitor, pdil, jTextFieldControllersDir.getText(), 20000);

jTextFieldFileRoot.setText(cph.getOutputFile());
cph.setTimeLabel(jLabelTime);
cph.constructGUI(jPanelLayers);

jLabelFilename.setText(Environment.getInstance().getFileRoot());

if (jCheckBoxPlot.isSelected()) {
Set<TopComponent> setTc = WindowManager.getDefault().getRegistry().getOpened();
for (TopComponent tc : setTc) {
LOG.log(Level.INFO, "+++ TC {0}", tc.getName());
}
pjp = (PlotPanelTopComponent) WindowManager.getDefault().findTopComponent("PlotPanelTopComponent");
if (plotPanelHelper == null) {
if (pjp == null) {
pjp = new PlotPanelTopComponent(cph);
}
plotPanelHelper = pjp.getPlotPanelHelper();
if (pjp.getCph() == null) {
pjp.setCph(cph);
}
plotPanelHelper.addPlotPanel(pjp, cph);
} else {
plotPanelHelper.clear();
pjp.setCph(cph);
plotPanelHelper.updateControllersListModel(cph);
plotPanelHelper.loadPlotsResource();
}
cph.setPlotPanelHelper(plotPanelHelper);
}
jButtonRemote.setText("Disconnect");
} catch (Exception ex) {
Logger.getLogger(ControlPanelTopComponent.class.getName()).log(Level.SEVERE, null, ex);
// System.exit(0);
}

if (cph != null) {
Thread tt = new Thread(cph);
tt.start();
LOG.info("+++ started cph thread ");
}

} catch (NumberFormatException ex) {
Exceptions.printStackTrace(ex);
}
} else {
disconnect();
}

}

private void disconnect() {
LOG.info("+++ disconnecting ...");
try {
if (cph != null) {
cph.stop();
cph.close();
}
} catch (Exception ex) {
Logger.getLogger(ControlPanelTopComponent.class.getName()).log(Level.SEVERE, null, ex);
}

jButtonRemote.setText("Connect");
}

private void jTextFieldPortActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}

private void jCheckBoxShortNamesActionPerformed(java.awt.event.ActionEvent evt) {
Environment.getInstance().setShortNames(jCheckBoxShortNames.isSelected());
}

private void jButtonShutdownActionPerformed(java.awt.event.ActionEvent evt) {

if (cph != null) {
cph.shutdown();
}

disconnect();
}

private void plotLimitChange(java.beans.PropertyChangeEvent evt) {
if (cph != null) {
cph.setPlotDataItemsLimit(Integer.parseInt(jTextFieldPlotItems.getText()));
}
}

private void fontSizeChange(java.beans.PropertyChangeEvent evt) {
//Environment.getInstance().setFontSize(Integer.parseInt(jTextFieldFontSize.getText()));
}

private void focusFontSize(java.awt.event.FocusEvent evt) {
Environment.getInstance().setFontSize(Integer.parseInt(jTextFieldFontSize.getText()));
}

// Variables declaration - do not modify
private javax.swing.JButton jButtonDescription;
private javax.swing.JButton jButtonOpenFile;
private javax.swing.JButton jButtonParameters;
private javax.swing.JButton jButtonRemote;
private javax.swing.JButton jButtonShutdown;
private javax.swing.JButton jButtonStart;
private javax.swing.JButton jButtonStep;
private javax.swing.JCheckBox jCheckBoxOutput;
private javax.swing.JCheckBox jCheckBoxPlot;
private javax.swing.JCheckBox jCheckBoxPrint;
private javax.swing.JCheckBox jCheckBoxShortNames;
private javax.swing.JFileChooser jFileChooser;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel6;
private javax.swing.JLabel jLabelFilename;
private javax.swing.JLabel jLabelFont;
private javax.swing.JLabel jLabelFreq;
private javax.swing.JLabel jLabelHost;
private javax.swing.JLabel jLabelPort;
private javax.swing.JLabel jLabelTime;
private javax.swing.JPanel jPanel1;
private javax.swing.JPanel jPanelCommon;
private javax.swing.JPanel jPanelControls;
private javax.swing.JPanel jPanelFile;
private javax.swing.JPanel jPanelLayers;
private javax.swing.JPanel jPanelLocal;
private javax.swing.JPanel jPanelMainLayers;
private javax.swing.JPanel jPanelOutput;
private javax.swing.JPanel jPanelRemote;
private javax.swing.JTextField jTextFieldControllersDir;
private javax.swing.JTextField jTextFieldFileRoot;
private javax.swing.JTextField jTextFieldFontSize;
private javax.swing.JTextField jTextFieldFreq;
private javax.swing.JTextField jTextFieldHost;
private javax.swing.JTextField jTextFieldPlotItems;
private javax.swing.JTextField jTextFieldPort;
private javax.swing.JPanel mainPanel;
// End of variables declaration
private ControlPanelHelper cph;
private boolean connected = false;
//private DefaultListModel functionsListModel = null;
private HashMap<String, String> hmFunctions;
private List<String> selectedFunctions = null;
private PlotPanelHelper plotPanelHelper = null;
private PlotPanelTopComponent pjp = null;
private ControlHierarchyEventMonitor monitor;
private ControlDataClient mc = null;
private String env = null;

@Override
public void componentOpened() {
// TODO add custom code on component opening
}

@Override
public void componentClosed() {
// TODO add custom code on component closing
}

void writeProperties(java.util.Properties p) {
// better to version settings since initial version as advocated at
// http://wiki.apidesign.org/wiki/PropertyFiles
p.setProperty("version", "1.0");
// TODO store your settings
}

void readProperties(java.util.Properties p) {
String version = p.getProperty("version");
// TODO read your settings according to their version
}
}






Back to top
Graeme



Joined: 03 Jan 2015
Posts: 17

PostPosted: Thu Mar 09, 2017 9:37 pm    Post subject: Re: Any suggestions? Reply with quote

The Help/About dialog will show you the path used for User Directory and Cache Directory. Compare the IDE dialog to your installed dialog and you will see they are different.

For Windows look in the program files/yourapp/etc folder there should be a conf file.

Change this property: default_userdir to use the user directory your IDE about dialog displays.

When you launch your installed app next time it will load the configuration from your IDE user directory.

This might help determine if the issue is missing/corrupt configuration information vs missing binaries.

If it works correctly using the IDE directory - compare the files for differences - especially the layer.xml file.
Back to top
Steven Yi
Posted via mailing list.





PostPosted: Thu Mar 09, 2017 9:57 pm    Post subject: TopComponent not running Reply with quote

The log notes the user directory:

Quote:
Home Directory = C:\Users\ReStart
Current Directory = C:\Program Files\pctmonitor
User Directory = C:\Users\ReStart\AppData\Roaming\.pctmonitor\dev
Cache Directory = C:\Users\ReStart\AppData\Roaming\.pctmonitor\dev\var\cache

I've seen issues occur when updating the names of TopComponents where
old persistence data causes some kind of error when loading. Also,
from the log it looks like there are a lot of keyboard short cuts
defined that link (i.e., uses shadows) to things that are maybe
removed.

One thing to try is moving that dev folder (rename it, back it up,
etc.) then try running the program.

Also, I see "201510222201" in a lot of the module names. What version
of NetBeans is being used?

On Thu, Mar 9, 2017 at 4:37 PM, Graeme <address-removed> wrote:
Quote:
The Help/About dialog will show you the path used for User Directory and Cache Directory. Compare the IDE dialog to your installed dialog and you will see they are different.

For Windows look in the program files/yourapp/etc folder there should be a conf file.

Change this property: default_userdir to use the user directory your IDE about dialog displays.

When you launch your installed app next time it will load the configuration from your IDE user directory.

This might help determine if the issue is missing/corrupt configuration information vs missing binaries.

If it works correctly using the IDE directory - compare the files for differences - especially the layer.xml file.



Back to top
ruperty



Joined: 06 Jul 2014
Posts: 21

PostPosted: Thu Mar 09, 2017 10:09 pm    Post subject: Re: TopComponent not running Reply with quote

geertjan wrote:
On 9-3-2017 21:19, ruperty wrote:
Quote:

Not sure where I'd start on that without rebuilding the entire project, as I don't know what the issue might be.

The installer worked about 8 months ago, on Linux, but doesn't now. Something I've done recently is delete some of the menus, through XML Layer. Might that be an issue?

If you think that's the issue, why not show the code from the layer.xml
file, instead of the TopComponent code?


I've no idea if that's the issue, that's why I am asking. It's just a suggestion, but it seems unlikely as all I did was make some menus hidden.


Quote:

Best of all would be if you'd put your application on GitHub or
somewhere where someone can take a look at it, right now, pretty much
impossible to help you, the code below isn't applicable at all since you
point out that the application worked until your tweaked the layer.xml file.


That's not what I said. Lots of things have changed in 8 months. The layers thing is just one thing I have done recently.

By the application do you mean the installation package, i.e. the zip file. It's about 170Mb, for some reason, even though my code is only a few Mb.

I'm afraid I don't know a great deal about the Netbeans Platform. It seems total overkill for what I need but I was forced to use it when Netbeans ceased to support for my swing application a few years ago.

Here's layers.xml

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.2//EN" "http://www.netbeans.org/dtds/filesystem-1_2.dtd">
<filesystem>
    <folder name="Menu">
        <file name="BuildProject_hidden"/>
        <file name="Edit_hidden"/>
        <file name="GoTo_hidden"/>
        <file name="Refactoring_hidden"/>
        <file name="RunProject_hidden"/>
        <file name="Source_hidden"/>
        <file name="Tools_hidden"/>
        <file name="Versioning_hidden"/>
        <folder name="View">
            <file name="Separator3.instance_hidden"/>
            <file name="ShowEditorOnlyAction.shadow_hidden"/>
            <file name="org-netbeans-core-multiview-EditorsAction.instance_hidden"/>
            <file name="org-netbeans-core-multiview-SplitAction.instance_hidden"/>
            <file name="org-netbeans-core-windows-actions-ToolbarsListAction.shadow_hidden"/>
            <file name="org-netbeans-modules-editor-NbCodeFoldingAction.instance_hidden"/>
            <file name="org-netbeans-modules-project-ui-SyncEditorWithViewsAction.shadow_hidden"/>
            <file name="org-netbeans-modules-versioning-core-ShowTextAnnotationsAction.shadow_hidden"/>
            <file name="org-netbeans-modules-versioning-ui-diff-ShowDiffSidebarAction.shadow_hidden"/>
            <file name="toggle-breadcrumbs-view.shadow_hidden"/>
            <file name="toggle-line-numbers.shadow_hidden"/>
            <file name="toggle-lines-view.shadow_hidden"/>
            <file name="toggle-non-printable-characters.shadow_hidden"/>
            <file name="toggle-toolbar.shadow_hidden"/>
        </folder>
    </folder>
    <folder name="Windows2">
        <folder name="Modes">
            <file name="bottomSlidingSide.wsmode" url="bottomSlidingSideWsmode.xml"/>
            <file name="editor.wsmode" url="editorWsmode.xml"/>
            <file name="explorer.wsmode" url="explorerWsmode.xml"/>
            <file name="leftSlidingSide.wsmode" url="leftSlidingSideWsmode.xml"/>
            <file name="output.wsmode" url="outputWsmode.xml"/>
            <file name="properties.wsmode" url="propertiesWsmode.xml"/>
            <file name="rightSlidingSide.wsmode" url="rightSlidingSideWsmode.xml"/>
            <file name="topSlidingSide.wsmode" url="topSlidingSideWsmode.xml"/>
        </folder>
    </folder>
</filesystem>
Back to top
geertjan



Joined: 22 Jan 2014
Posts: 979

PostPosted: Fri Mar 10, 2017 2:58 am    Post subject: TopComponent not running Reply with quote

On 9-3-2017 23:09, ruperty wrote:
Quote:
geertjan wrote:
Quote:
On 9-3-2017 21:19, ruperty wrote:


I'm afraid I don't know a great deal about the Netbeans Platform. It seems total overkill for what I need but I was forced to use it when Netbeans ceased to support for my swing application a few years ago.



No, NetBeans did not stop supporting the Swing Application Framework.
The Swing Application Framework was a JSR, i.e., a proposal to be
included in the JDK. The proposal was dropped or rejected and it would
have been irresponsible for NetBeans to continue to officially support a
dropped JSR.

At the same time, on plugins.netbeans.org you'll find two plugins that
continue to provide support for SAF.

Also, happy to hop onto a Skype call (I'm geertjanwielenga) to look at
your code with you and help solve this problem.

Gj
Back to top
ruperty



Joined: 06 Jul 2014
Posts: 21

PostPosted: Fri Mar 10, 2017 5:09 pm    Post subject: Re: TopComponent not running Reply with quote

geertjan wrote:
On 9-3-2017 23:09, ruperty wrote:
Quote:
geertjan wrote:
Quote:
On 9-3-2017 21:19, ruperty wrote:


I'm afraid I don't know a great deal about the Netbeans Platform. It seems total overkill for what I need but I was forced to use it when Netbeans ceased to support for my swing application a few years ago.



No, NetBeans did not stop supporting the Swing Application Framework.
The Swing Application Framework was a JSR, i.e., a proposal to be
included in the JDK. The proposal was dropped or rejected and it would
have been irresponsible for NetBeans to continue to officially support a
dropped JSR.

At the same time, on plugins.netbeans.org you'll find two plugins that
continue to provide support for SAF.


When the official support stopped there was no obvious indication of any other support or the plugins. I came across the plugin many months later, but by that time I had spent weeks and weeks porting to the Netbeans Platform.

Quote:

Also, happy to hop onto a Skype call (I'm geertjanwielenga) to look at
your code with you and help solve this problem.


Thanks for the offer that might be useful at some point, though things have developed with this issue. I thought I'd try it out on a different laptop (Windows 10) and found that it worked. I went back to my Linux machine and that still didn't work. But as the Windows 10 install had involved a complete build of code for the application and my external projects, I did a rebuild on Linux and the original Windows 7 laptop and they both worked as expected. So I guess the problem was something to do with incompatible code. Though its a bit disappointing that there was no obvious error flagged, as I still don't really know what the problem was.


This has raised a few other queries with the platform. I can create new topics if you prefer.

    Why is the size of the installer 170Mb when my code is only a few Mb? If this is because of included modules is there a way of checking if there are unnecessary modules? I do get a message on first startup about disabling modules.


    In the title bar of the app I get "201510222201". Do you know where this number comes from and how I avoid it?


    In the project properties -> Application -> Branding Name if I enter an uppercase letter I get an error, "Application name is not valid". Is there a way around that?
Back to top
geertjan



Joined: 22 Jan 2014
Posts: 979

PostPosted: Fri Mar 10, 2017 5:37 pm    Post subject: TopComponent not running Reply with quote

On 10-3-2017 18:09, ruperty wrote:
Quote:
geertjan wrote:
Quote:
On 9-3-2017 23:09, ruperty wrote:


Thanks for the offer that might be useful at some point, though things have developed with this issue. I thought I'd try it out on a different laptop (Windows 10) and found that it worked. I went back to my Linux machine and that still didn't work. But as the Windows 10 install had involved a complete build of code for the application and my external projects, I did a rebuild on Linux and the original Windows 7 laptop and they both worked as expected. So I guess the problem was something to do with incompatible code. Though its a bit disappointing that there was no obvious error flagged, as I still don't really know what the problem was.

And I am offering to help you with that and the other items you're
encountering, for free. Do you have a Skype account? Mine is
geertjanwielenga.

Personally, I'm not going to be able to write back and forth endlessly
to help with bits and pieces -- I'd rather speed up this process and
help out via a Skype call and help out more effectively and quickly that
way.

Gj
Back to top
ruperty



Joined: 06 Jul 2014
Posts: 21

PostPosted: Fri Mar 10, 2017 9:05 pm    Post subject: Re: TopComponent not running Reply with quote

geertjan wrote:
On 10-3-2017 18:09, ruperty wrote:
And I am offering to help you with that and the other items you're
encountering, for free. Do you have a Skype account? Mine is
geertjanwielenga.


That'd be great. I'll send you a skype message.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo