Thursday, October 6, 2011

Accessing static property JCache::$_handler as non static in C:\xampp\htdocs\Myschool\libraries\joomla\cache\cache.php on line 420

You have to make a few modification in php.ini, look for "error_reporting = E_ALL | E_STRICT" and remove value "E_ALL | E_STRICT", should look like "error_reporting = " (without quotes) then restart server
enjoy

Tuesday, October 4, 2011

Warning: session_start(): Cannot send session cache limiter - headers already sent ...


this kind of errors would occur, when the encoding of your script file needs to send some headers just after your script starts to execute,

this happens mostly with the scripts using normal utf8 encoding.

To overcome the issue, use utf8(without BOM) encoding provided by notepad++ and most modern editors. Using utf8 encoding and cookie based sessions, will result in headers already sent by error.

Sunday, April 3, 2011

JCalender provide a facility to integrate Calender component with your Swing application
Download this Component from https://sourceforge.net/projects/jcalender/


JCalender Configration with swing application
·                     Click Tools in the netbeans menu
·                     Select a Palette
·                     Swing /AWT Components
·                     Palette Manager Dialog apper
·                     Select a Beans
·                     Click Add from JAR
·                     Choose a JCalender.jar
·                     After adding a jar
·                     Drag a component in your form located in Beans(Downward of all control)

FOR OTHER CONTACT
MZOHAIB91@YAHOO.COM

Saturday, February 5, 2011

How to close all child frame in java

JDesktopPane jp=(JDesktopPane)this.getParent();
        JInternalFrame[] jf=jp.getAllFrames();
        for(int i=0;i<=jf.length-1;i++)
        {
            jf[i].dispose();
        }


(For question  email or im in mzohaib91@yahoo.com)