Subscribe

RSS Feed (xml)

Powered By

Place Your Ads Here

Increasing Jlabel Font size Dynamically


I have taken a Jlabel and jslider i have put all increasing code inside this slider event
 jSlider1StateChanged

        int g=jSlider1.getValue();
        f=g;
        System.out.println(g);
        Font o=new Font("SimHei",Font.BOLD, f);
        fg=o;
        jLabel2.setFont(o);
        jLabel2.setText("www.proamrishwa.blogspot.com");



If you want to download full source code download it here
 Source Code

0 comments: