You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.2 KiB

package siprp.initializer;
import java.awt.Color;
import javax.swing.UIManager;
import com.evolute.application.EvoAbstractAppInitializer;
import com.nilo.plaf.nimrod.NimRODLookAndFeel;
import com.nilo.plaf.nimrod.NimRODTheme;
public class SIPRPUIInitializer extends EvoAbstractAppInitializer
{
public SIPRPUIInitializer()
{
super( "UI", false, false, false );
}
@Override
public boolean doInit() throws Exception
{
NimRODTheme nt = new NimRODTheme();
nt.setPrimary1( new Color( 150, 180, 200 ) ); // tab header highlight, scroll highlight
nt.setPrimary2( new Color( 150, 180, 200 ) ); // button highlight & progress bar & selected tab header background & selected row ...
nt.setPrimary3( new Color( 150, 150, 150 ) ); // tree's graph color
nt.setSecondary1( new Color( 150, 150, 150 ) ); // Button contour
nt.setSecondary2( new Color( 200, 210, 220 ) ); // unselected tab header's background & border color (in tables too)
nt.setSecondary3( new Color( 235, 235, 235 ) ); // panel's background
NimRODLookAndFeel NimRODLF = new NimRODLookAndFeel();
NimRODLookAndFeel.setCurrentTheme( nt );
UIManager.setLookAndFeel( NimRODLF );
return true;
}
}