facebook

Cannot get the background color for JButton working properly

  1. MyEclipse Archived
  2.  > 
  3. Matisse/Swing UI Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #292109 Reply

    lamro
    Member

    Hi,

    I’m currently experiencing a problem with Matisse whereby I’m unable to set the background color of a JButton to the desired setting. e.g. If the background property
    has the color of blue, only the outline of the button is blue. The background of the actual
    button itself is unchanged. Is there something that I’m fundamentally missing?

    Thanks,
    Rob

    FYI this is the configuration details of my session:

    *** Date: Monday, December 15, 2008 9:49:51 AM ET

    *** Platform Details:

    *** System properties:
    ErrorManager.minimum=18
    awt.toolkit=sun.awt.windows.WToolkit
    birt.viewer.working.path=C:\eclipseProjects\workspace\.metadata\.plugins\org.eclipse.birt.report.viewer
    com.genuitec.pulse.client.blueprint.id=rmb-16308
    com.genuitec.pulse.client.credentials=Z5BMy6qoMj/LrBpOIjRw/eaN5gl0KDNKLibei6CzSt8tlp/DGpEiYvf+MQFdPNzRnVQR3rFDG9k8 V1nUsLptdUusrjiloeSZyw590cu+BsOjxxFtKWtkelqmpSaujPy0LOLEtBS3ucEL0QkW1SIVNfmo 4afIsHsvFP4CGRzN1IU=
    com.genuitec.pulse.client.handshake.id=ce5a86b1-d38a-44b5-92a3-b517296832b2
    com.genuitec.pulse.common.server.url=https://www.poweredbypulse.com:443
    eclipse.buildId=M20080221-1800
    eclipse.commands=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\MyEclipse 6.5 – Pulse Edition\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\Program Files\MyEclipse 6.5 – Pulse Edition\../Pulse\Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
    -startup
    C:\Program Files\MyEclipse 6.5 – Pulse Edition\../Pulse\Common\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
    -clean
    -clean
    -configuration
    C:\Program Files\MyEclipse 6.5 – Pulse Edition\configuration
    -vm
    C:\Program Files\Pulse\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll
    eclipse.ee.install.verify=false
    eclipse.p2.data.area=d:\data\lamro\.pulse2\configuration
    eclipse.p2.profile=com.poweredbypulse.profile-13656-rmb-16308
    eclipse.product=com.genuitec.myeclipse.product.ide
    eclipse.startTime=1228402742892
    eclipse.vm=C:\Program Files\Pulse\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll
    eclipse.vmargs=-Xms128M
    -Xmx512M
    -XX:PermSize=64M
    -XX:MaxPermSize=128M
    -Djava.class.path=C:\Program Files\MyEclipse 6.5 – Pulse Edition\../Pulse\Common\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
    entityExpansionLimit=6400
    file.encoding=Cp1252
    file.encoding.pkg=sun.io
    file.separator=\
    http.nonProxyHosts=localhost|127.0.0.1|localhost
    http.proxyHost=catoprx100.rbccm.com
    http.proxyPort=8080
    http.proxySet=true
    java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob=sun.awt.windows.WPrinterJob
    java.class.path=C:\Program Files\MyEclipse 6.5 – Pulse Edition\../Pulse\Common\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
    java.class.version=49.0
    java.endorsed.dirs=C:\Program Files\Pulse\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\lib\endorsed
    java.ext.dirs=C:\Program Files\Pulse\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\lib\ext
    java.home=C:\Program Files\Pulse\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011
    java.io.tmpdir=d:\data\lamro\LOCALS~1\Temp\
    java.library.path=C:\Program Files\MyEclipse 6.5 – Pulse Edition;.;C:\WINNT\system32;C:\WINNT;C:\program files\java\jdk1.5.0_12\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\IBMTOOLS\Python22;C:\SYBASE\ADO.NET\dll;C:\SYBASE\OLEDB;C:\SYBASE\ODBC;C:\SYBASE\OCS-12_5\lib3p;C:\SYBASE\OCS-12_5\dll;C:\SYBASE\OCS-12_5\bin;C:\TIBCO\TIBRV\BIN;C:\Program Files\Reuters\RFAJ\5.1.0.L5;C:\Program Files\ATI Technologies\ATI Control Panel;c:\program files\utils;c:\program files\ultraedit;c:\program files\gnu\wincvs 1.3;c:\Program Files\GNU\WinCvs 1.3;c:\Program Files\GNU\wincvs 1.3\cvsnt;C:\Program Files\QuickTime\QTSystem\;c:\program files\apache software foundation\apache-ant-1.7.0\bin
    java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version=1.5.0_11-b03
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.5
    java.vendor=Sun Microsystems Inc.
    java.vendor.url=http://java.sun.com/
    java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
    java.version=1.5.0_11
    java.vm.info=mixed mode
    java.vm.name=Java HotSpot(TM) Client VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=Sun Microsystems Inc.
    java.vm.version=1.5.0_11-b03
    javax.net.ssl.trustStore=d:\data\lamro\LOCALS~1\Temp\pulse15680jks
    line.separator=

    maven.mode.standalone=true
    maynstall.basepath=/pulse/action/
    maynstall.rootelement=pulse
    network.proxy_host=catoprx100.rbccm.com
    network.proxy_port=8080
    org.eclipse.equinox.launcher.splash.location=c:\Program Files\Pulse\Common\plugins\com.genuitec.myeclipse.product_6.6.0.zmyeclipse660200810\splash.bmp
    org.eclipse.jdt.debug.ui.debuggerActive=false
    org.eclipse.jdt.debug.ui.instanceof.IJavaStackFrame=false
    org.eclipse.jdt.debug.ui.supportsForceReturn=false
    org.eclipse.jdt.debug.ui.supportsInstanceRetrieval=false
    org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5
    org.osgi.framework.language=en
    org.osgi.framework.os.name=WindowsXP
    org.osgi.framework.os.version=5.1
    org.osgi.framework.processor=x86
    org.osgi.framework.system.packages=javax.accessibility,javax.activity,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stream,javax.xml.validation,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views ,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
    org.osgi.framework.vendor=Eclipse
    org.osgi.framework.version=1.4.0
    org.osgi.supports.framework.extension=true
    org.osgi.supports.framework.fragment=true
    org.osgi.supports.framework.requirebundle=true
    os.arch=x86
    os.name=Windows XP
    os.version=5.1
    osgi.arch=x86
    osgi.bundles=reference:file:/C:/Program Files/Pulse/Common/plugins/com.genuitec.pulse2.client.targetcfg.ui_2.3.2.200812031500.jar@start,reference:file:/C:/Program Files/Pulse/Common/plugins/org.eclipse.update.configurator_3.2.101.R33x_v20070810.jar@3:start,reference:file:/C:/Program Files/Pulse/Common/plugins/org.eclipse.core.runtime_3.3.100.v20070530.jar@start,reference:file:/C:/Program Files/Pulse/Common/plugins/org.eclipse.equinox.common_3.3.0.v20070426.jar@2:start
    osgi.bundles.defaultStartLevel=4
    osgi.bundlestore=C:\Program Files\MyEclipse 6.5 – Pulse Edition\configuration\org.eclipse.osgi\bundles
    osgi.clean=true
    osgi.compatibility.bootdelegation=true
    osgi.configuration.area=file:/C:/Program Files/MyEclipse 6.5 – Pulse Edition/configuration/
    osgi.framework=file:/C:/Program Files/Pulse/Common/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
    osgi.framework.beginningstartlevel=1
    osgi.framework.shape=jar
    osgi.framework.version=3.3.2.R33x_v20080105
    osgi.install.area=file:/C:/Program Files/Pulse/Common/
    osgi.instance.area=file:/C:/eclipseProjects/workspace/
    osgi.instance.area.default=file:/D:/data/lamro/Workspaces/MyEclipse 6.5 – Pulse Edition/
    osgi.logfile=C:\eclipseProjects\workspace\.metadata\.log
    osgi.manifest.cache=C:\Program Files\MyEclipse 6.5 – Pulse Edition\configuration\org.eclipse.osgi\manifests
    osgi.nl=en_US
    osgi.os=win32
    osgi.sharedConfiguration.area=file:/c:/Program Files/Pulse/Common/configuration/
    osgi.splashLocation=c:\Program Files\Pulse\Common\plugins\com.genuitec.myeclipse.product_6.6.0.zmyeclipse660200810\splash.bmp
    osgi.splashPath=platform:/base/plugins/com.genuitec.myeclipse.product
    osgi.syspath=c:\Program Files\Pulse\Common\plugins
    osgi.ws=win32
    path.separator=;
    product.home=/C:/Program Files/Pulse/Common/plugins/org.jboss.tools.common.model_2.0.1.zmyeclipse660200810/
    pulse.blueprint.id=rmb-16308
    pulse.console.redirect=true
    pulse.credentials=Z5BMy6qoMj/LrBpOIjRw/eaN5gl0KDNKLibei6CzSt8tlp/DGpEiYvf+MQFdPNzRnVQR3rFDG9k8 V1nUsLptdUusrjiloeSZyw590cu+BsOjxxFtKWtkelqmpSaujPy0LOLEtBS3ucEL0QkW1SIVNfmo 4afIsHsvFP4CGRzN1IU=
    pulse.handshake.id=ce5a86b1-d38a-44b5-92a3-b517296832b2
    pulse.server.url=https://www.poweredbypulse.com:443
    sun.arch.data.model=32
    sun.awt.noerasebackground=true
    sun.boot.class.path=C:\Program Files\Pulse\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\lib\rt.jar;C:\Program Files\Pulse\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\lib\i18n.jar;C:\Program Files\Pulse\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\lib\sunrsasign.jar;C:\Program Files\Pulse\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\lib\jsse.jar;C:\Program Files\Pulse\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\lib\jce.jar;C:\Program Files\Pulse\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\lib\charsets.jar;C:\Program Files\Pulse\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\classes
    sun.boot.library.path=C:\Program Files\Pulse\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin
    sun.cpu.endian=little
    sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
    sun.desktop=windows
    sun.io.unicode.encoding=UnicodeLittle
    sun.jnu.encoding=Cp1252
    sun.management.compiler=HotSpot Client Compiler
    sun.os.patch.level=Service Pack 2
    user.country=US
    user.dir=C:\Program Files\MyEclipse 6.5 – Pulse Edition
    user.home=d:\data\lamro
    user.language=en
    user.name=lamro
    user.timezone=America/New_York
    user.variant=
    workspace.projectclasspath=/C:/TraderTool/lib/AbsoluteLayout.jar;/C:/TraderTool/lib/jcommon-0.9.5.jar;/C:/TraderTool/lib/jfreechart-0.9.20.jar;/C:/TraderTool/lib/swing-layout-1.0.jar;/C:/TraderTool/lib/hibernate3.jar;/C:/TraderTool/lib/commons-collections-2.1.1.jar;/C:/TraderTool/lib/dom4j-1.6.1.jar;/C:/TraderTool/lib/spring.jar;/C:/TraderTool/lib/antlr-2.7.6.jar;/C:/jRatsSpringEjb/classes;/C:/TIBCO/TIBRV/lib/tibrvj.jar;/C:/Program Files/MySQL/MySQL Server 5.0/bin/mysql-connector-java-5.1.5/mysql-connector-java-5.1.5-bin.jar;/C:/TraderTool/lib/winlaf-0.5.1.jar;C:\eclipseProjects\workspace\TraderTool\APP-INF\classes;/C:/jRatsSpringEar/APP-INF/lib/log4j-1.2.8.jar;/C:/bea_9.2/weblogic92/server/lib/weblogic.jar;C:\eclipseProjects\workspace\jRatsSpringEar\APP-INF\classes;C:\eclipseProjects\workspace\jRatsSpringEjb\classes;/C:/jRatsWebApp/WebRoot/WEB-INF/lib/jnlp-servlet.jar;C:\eclipseProjects\workspace\jRatsWebApp\WebRoot\WEB-INF\classes;/C:/whistler-build/lib/gaCaasClient.jar;/C:/whistler-build/lib/gaCORBAUtils.jar;/C:/whistler-build/lib/getAccess.jar;/C:/whistler-build/lib/vbj30ssl.jar;/C:/whistler-build/lib/vbjapp.jar;/C:/whistler-build/lib/vbjorb.jar;/C:/whistler-build/lib/aaa.jar;/C:/whistler-build/lib/aes.jar;/C:/whistler-build/lib/AtriaxAPI-1_8_5TestMode.jar;/C:/whistler-build/lib/axis.jar;/C:/whistler-build/lib/axis-extend.jar;/C:/whistler-build/lib/BorlandJar.jar;/C:/whistler-build/lib/com.ibm.mq.jar;/C:/whistler-build/lib/commons-beanutils.jar;/C:/whistler-build/lib/commons-collections.jar;/C:/whistler-build/lib/commons-digester.jar;/C:/whistler-build/lib/commons-discovery.jar;/C:/whistler-build/lib/commons-logging.jar;/C:/whistler-build/lib/Cpilib.jar;/C:/whistler-build/lib/dbswing.jar;/C:/whistler-build/lib/dreamwire_src.jar;/C:/whistler-build/lib/eclient_wscl.jar;/C:/whistler-build/lib/EwsClient.jar;/C:/whistler-build/lib/FILib.jar;/C:/whistler-build/lib/Finansia.jar;/C:/whistler-build/lib/FinJbcl.jar;/C:/whistler-build/lib/FinJdsServer.jar;/C:/whistler-build/lib/FxOnBoarding.jar;/C:/whistler-build/lib/GenJar.jar;/C:/whistler-build/lib/itext.jar;/C:/whistler-build/lib/jasperreports.jar;/C:/whistler-build/lib/javacup.jar;/C:/whistler-build/lib/jaws.jar;/C:/whistler-build/lib/jaxrpc.jar;/C:/whistler-build/lib/jcert.jar;/C:/whistler-build/lib/jcommon-0.9.5.jar;/C:/whistler-build/lib/jconn2.jar;/C:/whistler-build/lib/JDateChooser.jar;/C:/whistler-build/lib/jecf.jar;/C:/whistler-build/lib/jfreechart-0.9.20.jar;/C:/whistler-build/lib/jnet.jar;/C:/whistler-build/lib/jsse.jar;/C:/whistler-build/lib/jug.jar;/C:/whistler-build/lib/junit.jar;/C:/whistler-build/lib/junitee.jar;/C:/whistler-build/lib/log4j-1.2.8.jar;/C:/whistler-build/lib/monaco_chris.jar;/C:/whistler-build/lib/org.mortbay.jetty.jar;/C:/whistler-build/lib/org.mortbay.jmx.jar;/C:/whistler-build/lib/poi.jar;/C:/whistler-build/lib/rbcpubsub.jar;/C:/whistler-build/lib/sunjce_provider.jar;/C:/whistler-build/lib/tcpi.jar;/C:/whistler-build/lib/mdpi.jar;/C:/whistler-build/lib/tools.jar;/C:/whistler-build/lib/whistler-util.jar;/C:/whistler-build/lib/wsdl4j.jar;/C:/whistler-build/lib/xml.jar;/C:/whistler-build/lib/xml4j.jar;/C:/whistler-build/web/WEB-INF/lib/struts.jar;/C:/Program Files/Reuters/RFAJ/rfa.jar;/C:/TIBCO/TIBRV/lib/tibrvj.jar;/C:/whistler-build/lib/backport-util-concurrent.jar;/C:/whistler-build/lib/appia.jar;/C:/whistler-build/lib/xerces.jar;/C:/whistler-build/lib/dom4j.jar;/C:/whistler-build/lib/dreamwire.jar;/C:/whistler-build/lib/javaws.jar;/C:/whistler-build/lib/weblogic.jar;/C:/whistler-build/lib/webservices.jar;/C:/whistler-build/lib/ant.jar;/C:/whistler-build/lib/opentoken-adapter-1.2.jar;/C:/whistler-build/lib/opentoken-java-1.1.jar;/C:/whistler-build/lib/springaccess.jar;/C:/jRatsSpringEjb/classes;/C:/whistler-build/lib/swing-layout-1.0.3.jar;/C:/whistler-build/lib/AbsoluteLayout.jar;/C:/whistler-build/lib/beansbinding-1.2.1.jar;C:\eclipseProjects\workspace\whistler-build\class
    wtp.autotest.noninteractive=true

    #292183 Reply

    Loyal Water
    Member

    Rob,
    I was able to replicate the issue that you have pointed out. I’ll ask the dev team to look into this. Thank you for bringing this up.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Cannot get the background color for JButton working properly

You must be logged in to post in the forum log in