Files
tustu/app/com/efiAnalytics/tuningwidgets/panels/InjectorFlowUnitField.java
johndoe6345789 16514b48fb Add MANIFEST.MF and configure Gradle to use Java 21
- Created a new MANIFEST.MF file for the JAR with version 1.0.
- Added gradle.properties to specify Java 21 as the JDK for Gradle builds, ensuring compatibility with current Gradle/Kotlin versions.
2026-01-11 20:43:48 +00:00

42 lines
1.1 KiB
Java

package com.efiAnalytics.tuningwidgets.panels;
import bH.X;
import com.efiAnalytics.ui.NumericTextField;
class InjectorFlowUnitField extends do {
boolean a = false;
InjectorFlowUnitField(RequiredFuelCalculatorDialog paraman) {}
public void a() {
if (!this.a) {
String str = getText();
try {
if (str.trim().length() > 0) {
double d = Double.parseDouble(str);
setText("" + (int)Math.round(d * 10.5D));
}
} catch (NumberFormatException numberFormatException) {}
this.a = true;
}
}
public void b() {
if (this.a) {
String str = getText();
try {
if (str.trim().length() > 0) {
double d = Double.parseDouble(str);
setText(X.b(d / 10.5D, 1));
}
} catch (NumberFormatException numberFormatException) {}
this.a = false;
}
}
}
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/com/efiAnalytics/tuningwidgets/panels/av.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/