Menu

Change Smartpos Skin

2015-10-20
2022-03-24
  • Yusuf Firdaus

    Yusuf Firdaus - 2015-10-20

    Upgrade substance.jar to substance-7.2.1.jar and add substance-extras.jar for more and awesome skin in Openbravo POS

     
  • Yusuf Firdaus

    Yusuf Firdaus - 2015-10-20

    hi community, i'm a newby in smartpos, but i want to share how to get more skin in smartpos.
    as we know openbravo pos v2 use substance6.0.jar and now the version of substance is 7.2.1
    I 've tried various methods to create new openbravo watermark or background with my image, but until right now I just can only change the skin and color scheme.. anyway this is my step,
    you can upgrade the substance's library for more skin and more awesome look and feel with this step,

    first, you must download the substance-7.2.1 and the needed library,

    1. substance-swingx-7.2.1.jar
    2. lite-2.2.3.jar
    3. trident-7.2.1-swing.jar
    4. laf-plugin-7.2.1.jar
    5. laf-widget.7.2.1.jar
    6. swingx-core-1.6.3.jar
    7. swingx-painter-1.6.3.jar
    8. swing-plaf-1.6.3.jar
    9. substance-extras.jar

    second step, replace your substance.jar libarary with substance-7.2.1.jar then include the 9 library that you have already downloaded.

    Then open class com.openbravo.pos.form.StartPos.java

    delete the import line
    import org.jvnet.substance.SubstanceLookAndFeel;
    import org.jvnet.substance.api.SubstanceSkin;

    and replace with
    import org.pushingpixels.substance.api.SubstanceLookAndFeel;
    import org.pushingpixels.substance.api.SubstanceSkin;

    open class com.openbravo.pos.config.JpanelConfigGeneral.java

    delete the import line
    import org.jvnet.substance.SubstanceLookAndFeel;
    import org.jvnet.substance.api.SubstanceSkin;
    import org.jvnet.substance.skin.SkinInfo;

    and replace with
    import org.pushingpixels.substance.api.SubstanceLookAndFeel;
    import org.pushingpixels.substance.api.SubstanceSkin;
    import org.pushingpixels.substance.api.skin.SkinInfo;

    last step, open your smartpos.properties and replace line
    swing.defaultlaf=org.jvnet.substance.skin.YourSkin

    with
    swing.defaultlaf=org.pusingpixels.substance.api.skin.FieldofWeatSkin
    and run openbravo pos, now you can see the new skin from substance-7.2.1 and substance-extras

    finish, now you can see additional skin in window configuration. And enjoyed...

    Big Regards

    Yusuf

     

    Last edit: Yusuf Firdaus 2015-10-20

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.