netbeans codes for anarTrading