diff --git a/src/osp/ui/OSPE_AboutBoxPanel.java b/src/osp/ui/OSPE_AboutBoxPanel.java index 8565610..fd61177 100755 --- a/src/osp/ui/OSPE_AboutBoxPanel.java +++ b/src/osp/ui/OSPE_AboutBoxPanel.java @@ -23,7 +23,7 @@ public class OSPE_AboutBoxPanel extends JDialog { /** Product name */ private String product = "OSP Editor"; /** Current version */ - private String version = "version 2.6.8 - May 16th 2019"; + private String version = "version 2.6.9 - June 25th 2019"; /** Copyright information */ private String copyright = "Copyright (c)"; /** Comments */ diff --git a/src/osp/ui/OspeControl.java b/src/osp/ui/OspeControl.java index dea09b4..40a1cf2 100644 --- a/src/osp/ui/OspeControl.java +++ b/src/osp/ui/OspeControl.java @@ -9,6 +9,7 @@ import java.awt.geom.Point2D; import java.io.File; import java.io.FileWriter; import java.io.IOException; +import java.math.RoundingMode; import java.net.URL; import java.nio.file.Paths; import java.text.DecimalFormat; @@ -1716,11 +1717,14 @@ WorldCoords wc = new WorldCoords(ptM.x,ptM.y); DecimalFormat nf; nf = new DecimalFormat("000.000"); - + nf.setRoundingMode(RoundingMode.HALF_EVEN); + tab[i][0]=String.valueOf((int)idSlit); tab[i][1]= nf.format(csup_left); + tab[i][2]=String.valueOf((int)idSlit2); tab[i][3]=nf.format(csup_right); + if (isRef) tab[i][4]=String.valueOf((int)2); else if (isJoined) tab[i][4]=joinedInfo; else tab[i][4]=String.valueOf((int)affected); @@ -1731,7 +1735,8 @@ WorldCoords wc = new WorldCoords(ptM.x,ptM.y); tab[i][9]=nf.format(xr_left); tab[i][10]=nf.format(yr_left); tab[i][11]=nf.format(xr_right); - tab[i][12]=nf.format(yr_right); + tab[i][12]=nf.format(yr_right); + int v=joinedRefId+1; tab[i][13]=String.valueOf((int)v); isRef=false; -- libgit2 0.21.2