Search This Blog

Sunday, 25 March 2012

import java.awt.Graphics;
import javax.swing.JPanel;
public class DrawPanel extends JPanel
{

public void paintComponent(Graphics g)
 {
 super.paintComponent(g);
 int width = getWidth();
 int height = getHeight();

 g.drawLine(0,0, width, height);
 g.drawLine(0,height, width,0);
 }
}
---------------------------------------------------------------
my second code is this...

import javax.swing.JFrame;

public class DrawPanelTest
{


public static void main(String args[])
 {
 DrawPanel panel = new DrawPanel();
 JFrame application = new JFrame();
 application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
 application.add(panel);
 application.setSize(250,250);
 application.setVisible(true);
}
}
-----------------------------------------------------------
i hope that you can help me whith my problem....



copyright

Privacy Policy for TOAR

If you require any more information or have any questions about our privacy policy, please feel free to contact us by email at contact us.
At www.trilogyofanrpg.com.au we consider the privacy of our visitors to be extremely important. This privacy policy document describes in detail the types of personal information is collected and recorded by www.trilogyofanrpg.com.au and how we use it.
Log Files
Like many other Web sites, www.trilogyofanrpg.com.au makes use of log files. These files merely logs visitors to the site - usually a standard procedure for hosting companies and a part of hosting services's analytics. The information inside the log files includes internet protocol (IP) addresses, browser type, Internet Service Provider (ISP), date/time stamp, referring/exit pages, and possibly the number of clicks. This information is used to analyze trends, administer the site, track user's movement around the site, and gather demographic information. IP addresses, and other such information are not linked to any information that is personally identifiable.
Cookies and Web Beacons
www.trilogyofanrpg.com.au uses cookies to store information about visitors' preferences, to record user-specific information on which pages the site visitor accesses or visits, and to personalize or customize our web page content based upon visitors' browser type or other information that the visitor sends via their browser.
DoubleClick DART Cookie
→ Google, as a third party vendor, uses cookies to serve ads on www.trilogyofanrpg.com.au.
→ Google's use of the DART cookie enables it to serve ads to our site's visitors based upon their visit to www.trilogyofanrpg.com.au and other sites on the Internet.
→ Users may opt out of the use of the DART cookie by visiting the Google ad and content network privacy policy at the following URL - http://www.google.com/privacy_ads.html
Our Advertising Partners
Some of our advertising partners may use cookies and web beacons on our site. Our advertising partners include .......
    While each of these advertising partners has their own Privacy Policy for their site, an updated and hyperlinked resource is maintained here: Privacy Policies.
    You may consult this listing to find the privacy policy for each of the advertising partners of www.trilogyofanrpg.com.au.

    These third-party ad servers or ad networks use technology in their respective advertisements and links that appear on www.trilogyofanrpg.com.au and which are sent directly to your browser. They automatically receive your IP address when this occurs. Other technologies (such as cookies, JavaScript, or Web Beacons) may also be used by our site's third-party ad networks to measure the effectiveness of their advertising campaigns and/or to personalize the advertising content that you see on the site.
    www.trilogyofanrpg.com.au has no access to or control over these cookies that are used by third-party advertisers.
    Third Party Privacy Policies
    You should consult the respective privacy policies of these third-party ad servers for more detailed information on their practices as well as for instructions about how to opt-out of certain practices. www.trilogyofanrpg.com.au's privacy policy does not apply to, and we cannot control the activities of, such other advertisers or web sites. You may find a comprehensive listing of these privacy policies and their links here: Privacy Policy Links.
    If you wish to disable cookies, you may do so through your individual browser options. More detailed information about cookie management with specific web browsers can be found at the browsers' respective websites. What Are Cookies?
    Children's Information
    We believe it is important to provide added protection for children online. We encourage parents and guardians to spend time online with their children to observe, participate in and/or monitor and guide their online activity. www.trilogyofanrpg.com.au does not knowingly collect any personally identifiable information from children under the age of 13. If a parent or guardian believes that www.trilogyofanrpg.com.au has in its database the personally-identifiable information of a child under the age of 13, please contact us immediately (using the contact in the first paragraph) and we will use our best efforts to promptly remove such information from our records.
    Online Privacy Policy Only
    This privacy policy applies only to our online activities and is valid for visitors to our website and regarding information shared and/or collected there. This policy does not apply to any information collected offline or via channels other than this website.
    Consent
    By using our website, you hereby consent to our privacy policy and agree to its terms.

    copy right test


    Copyright © Samuel Grahame’s Game 2012
    The following things that are covered in the copyright are all the sprites. The character, tree’s and tiles. The sound and music is under copyright. The program that I have used is under copyright from yoyo games of game maker.
    If these copyright agreement is inferred under infringement you consequence will be under the copyright Act 1994 and you will be taken to court and be fined and sue for  $5,000.00 if stolen by person user or if stolen by a company the fine will be $50,000.00 plus the personal fine the  individual.
    List of things covered:
    Name of the product:””
    Name of characters:”” plus traits of characters:””
    Characters and NPC looks and styles:””
    Sounds and music effects ETC:””
    all objects and rooms:””
    Copyright of Samuel’s Game ©.

    floor


    door