From: rkv Date: Tue, 27 Nov 2012 06:36:27 +0000 (+0000) Subject: White blanks between tool buttons of applet are removed by means of setting an apllet... X-Git-Tag: Root_Delivery1_2012_12_06~39 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=874d25e1d97d07d4eb42d6e79578756860d532d3;p=tools%2Fsiman.git White blanks between tool buttons of applet are removed by means of setting an apllet background. --- diff --git a/Workspace/Siman/WebContent/jap/splat-launcher.jar b/Workspace/Siman/WebContent/jap/splat-launcher.jar index 617fe5d..a95e95c 100644 Binary files a/Workspace/Siman/WebContent/jap/splat-launcher.jar and b/Workspace/Siman/WebContent/jap/splat-launcher.jar differ diff --git a/Workspace/Siman/WebContent/jap/splat-signedlauncher.jar b/Workspace/Siman/WebContent/jap/splat-signedlauncher.jar index c2ca943..d0b4873 100644 Binary files a/Workspace/Siman/WebContent/jap/splat-signedlauncher.jar and b/Workspace/Siman/WebContent/jap/splat-signedlauncher.jar differ diff --git a/Workspace/Siman/src/org/splat/launcher/ToolbarApplet.java b/Workspace/Siman/src/org/splat/launcher/ToolbarApplet.java index 183b0fe..3a7c590 100644 --- a/Workspace/Siman/src/org/splat/launcher/ToolbarApplet.java +++ b/Workspace/Siman/src/org/splat/launcher/ToolbarApplet.java @@ -1,5 +1,6 @@ package org.splat.launcher; +import java.awt.Color; import java.awt.ComponentOrientation; import java.awt.GridLayout; import java.awt.event.ActionEvent; @@ -55,6 +56,7 @@ public class ToolbarApplet extends java.applet.Applet implements ActionListener } } setLayout(new GridLayout(1, ntools, hgap, 0)); // 1 row, {ntools} buttons + setBackground(Color.decode("#D2E7FF")); applyComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT); }