homebeaver / SwingSet

try to complete SwingSet3 org.swinglabs.swingx jars 1.6.6 for java 8 and openjdk 17 (Temurin)
GNU Lesser General Public License v2.1
0 stars 0 forks source link

JXMonthView/JXTipOfTheDay: replace png icons with radience svg #37

Closed homebeaver closed 1 year ago

homebeaver commented 1 year ago

JXTipOfTheDay: ... JXMonthView: defined in class org.jdesktop.swingx.plaf.MonthViewAddon

        defaults.add("JXMonthView.monthDownFileName", LookAndFeel.makeIcon(MonthViewAddon.class, "basic/resources/month-down.png"));
        defaults.add("JXMonthView.monthUpFileName", LookAndFeel.makeIcon(MonthViewAddon.class, "basic/resources/month-up.png")); 

used in org.jdesktop.swingx.plaf.basic.BasicMonthViewUI

    /**
     * Installs this ui delegate's properties.
     */
    protected void installDelegate() {
        isLeftToRight = monthView.getComponentOrientation().isLeftToRight();
        // PENDING JW: remove here if rendererHandler takes over control completely
        // as is, some properties are duplicated
        monthDownImage = UIManager.getIcon("JXMonthView.monthDownFileName");
        monthUpImage = UIManager.getIcon("JXMonthView.monthUpFileName");
        // install date related state
        setFirstDisplayedDay(monthView.getFirstDisplayedDay());
    }
homebeaver commented 1 year ago

compare bevor (in 1.7.3, locale pl) and after in (1.7.4, locale de) :

grafik