Search:

Type: Posts; User: dunnkers

Search: Search took 0.08 seconds.

  1. Replies
    0
    Views
    1,178

    Eclipse plugin - Analyzing a package

    Hello Java programmers,

    Question:
    I want to make an eclipse plugin which gets all the methods from a class. With methods i also mean the content. How can i do this? I only need to know how i can...
  2. Replies
    10
    Views
    2,590

    Re: API singleton theory

    Sorry for all the confusion guys, but what im basically trying to do is using my API in a class without defining variables in everytime.
  3. Replies
    10
    Views
    2,590

    Re: API singleton theory

    Thanks for your reply aussiemcgr,
    but this is not quite what i mean.

    What i try to prevent is that i have to create a large number of variables in each class i want to use other classes in. I'd...
  4. Replies
    10
    Views
    2,590

    Re: API singleton theory

    I need them so i'd easily type


    combat.someMethod();

    instead of


    new dunkscripts.game.Combat().someMethod();
  5. Replies
    10
    Views
    2,590

    Re: API singleton theory

    theres obviously recursion going on, but i don't know how to do it the right way. anyone?
  6. Replies
    10
    Views
    2,590

    API singleton theory

    Okay, i've been struggling with this for a while now so i thought i'd ask the experts.

    I have a file Combat.java
    Another file, Actions.java, uses methods stored in Combat.java
    So i have a class,...
  7. Replies
    5
    Views
    1,471

    Re: API in one file

    Yeah, it is a horrible idea. As it was needed for a program to run, it was the only solution. I now figured out the program can also load .jars and dir's (jars).

    Thanks though.
  8. Replies
    5
    Views
    1,471

    Re: API in one file

    No, this is not what i meant. I need all methods and classes in one .java file, so it doesn't use anything outside its own file anymore.
  9. Replies
    5
    Views
    1,471

    API in one file

    Hello,

    I have an package called 'dunkscripts'.
    The file DunkTest.java uses this package.

    http://img510.imageshack.us/img510/6444/122e.png


    I want all the methods and classes used by...
  10. Replies
    10
    Views
    2,534

    Re: Need help with fillArc()

    I read and i understand now. I will not crosspost anymore.
    I thought i'd get an answer sooner, but actually the time explaining mutliple people the same problem, cost me more time.

    Thanks for...
  11. Replies
    10
    Views
    2,534

    Re: Need help with fillArc()

    I crossposted this on yet another forum, (i really needed an answer) and the answer has been found.
    Link: Need help with fillArc()
  12. Replies
    10
    Views
    2,534

    Re: Need help with fillArc()

    Okay, sorry for my un-constructive post.

    What i managed to do:
    (The picture is taken from a java applet)

    http://img560.imageshack.us/img560/1725/117t.png



    int x = 10, y = 10;
  13. Replies
    10
    Views
    2,534

    Re: Need help with fillArc()

    I still have no idea how i would do this, could someone give me an example?
  14. Replies
    10
    Views
    2,534

    Re: Need help with fillArc()

    How would i stroke the oval?
    Let's say the percentage is 25%

    Thanks for your reply




    Sorry for the crosspost.
  15. Replies
    10
    Views
    2,534

    [SOLVED] Need help with fillArc()

    I want to create some sort of progress circle like this:
    (I made these in paint, not in java)

    25%
    http://img708.imageshack.us/img708/4297/56408974.png

    75%...
Results 1 to 15 of 15