(first you need to type 'sudo su' and enter the password of your Mac account, because you need root privileges to start XAMPP)So it should be possible to create a System panel app and call that command from there. But for that, you need to know how to program applications for Mac OS X.

the deamon launch system on MacOS x usethere folders/System/Library/LaunchAgents//System/Library/LaunchDaemons//Library/LaunchAgents//Library/LaunchDaemons/

MacOS System use org.apache.httpd.plist file to launch apache.Yous can copy /System/Library/LaunchDaemons/org.apache.httpd.plist into /Library/LaunchDaemons/org.apache.httpd.plistyou can edit this file with PLIstEditor (developpers tools) is an XML file