Getting jar files from main which are needed for some libs that are not

on Maven
This commit is contained in:
Douglas Gillespie 2022-02-02 14:26:25 +00:00
parent ccec9566c7
commit 08ea80d521
6 changed files with 20 additions and 14 deletions

View File

@ -6,7 +6,7 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk-16.0.1">
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<attributes>
<attribute name="module" value="true"/>
<attribute name="maven.pomderived" value="true"/>

View File

@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.pamguard</groupId>
<artifactId>PamguardBeta</artifactId>
<artifactId>Pamguard</artifactId>
<version>2.02.03a</version>
<name>Pamguard Java12+</name>
<description>Pamguard for Java 12+, using Maven to control dependcies</description>
@ -318,7 +318,7 @@
<dependency>
<groupId>io.github.macster110</groupId>
<artifactId>jpamutils</artifactId>
<version>0.0.55</version>
<version>0.0.56</version>
</dependency>
<!--jpam project - Deep learning java library
@ -329,7 +329,7 @@
<dependency>
<groupId>io.github.macster110</groupId>
<artifactId>jdl4pam</artifactId>
<version>0.0.92</version>
<version>0.0.93</version>
</dependency>
<!-- https://mvnrepository.com/artifact/gov.nist.math/jama -->
@ -772,7 +772,7 @@
<version>1.0.2</version>
</dependency>
-->
<!-- not in Maven repository -->
<dependency>
<groupId>pamguard.org</groupId>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -184,15 +184,21 @@ public class TDAcousticScroller extends AcousticScrollerFX implements PamSetting
//add a listener so the visible amount changes of the spinner changes value.
spinner.valueProperty().addListener((obsVal, oldVal, newVal)->{
if (spinnerCall) return ; //prevent overflow.
if (newVal<=this.getRangeMillis()) {
// Debug.out.println("TDAcousticScroller: TimeRangeSpinner: " + newVal);
Platform.runLater(()->{ //why? But seems necessary
super.setVisibleMillis(newVal);
});
}
else spinner.getValueFactory().decrement(1); //need to use decrement here instead of set time because otherwise arrow buttons
//don't work.
if (spinnerCall) return ; //prevent overflow
/**
* There are two slightly different modes here- in viewer mode we want the spinner to set
* only the visible range. However in real time mode we want it to set the visible time and
* the data keep time.
*/
if (newVal<=this.getRangeMillis() || !isViewer) {
// Debug.out.println("TDAcousticScroller: TimeRangeSpinner: " + newVal);
Platform.runLater(()->{ //why? But seems necessary
super.setVisibleMillis(newVal);
super.setRangeMillis(0, newVal, false);
});
}
else spinner.getValueFactory().decrement(1); //need to use decrement here instead of set time because otherwise arrow buttons
});
}