Search:

Type: Posts; User: xchan

Page 1 of 2 1 2

Search: Search took 0.74 seconds.

  1. Replies
    7
    Views
    195

    Re: how to access another application

    sorry but i wasnt satisfied by your answer :( what else i need to have?
  2. Replies
    7
    Views
    195

    Re: how to access another application

    sorry about that, but i asked for a java code or instructions that i can do in java...
  3. Replies
    7
    Views
    195

    Re: how to access another application

    so you would suggest me to write it in C++?

    the program i wanted to access is (.exe), might help
  4. Replies
    7
    Views
    195

    how to access another application

    hi guys, im trying to program a java application that can access(read and write) memory of another application. for example, an auto-move application for an online game. How is it done or what is it...
  5. Replies
    1
    Views
    350

    java cant find my sqlite file

    i placed my sqlite file on src/Database folder in my project.

    2244

    and in my code, i have this...


    String filePath = "\\Database\\glacier.sqlite";
    connect =...
  6. Replies
    5
    Views
    241

    Re: mouse pointer finder?

    ok thanks for that info but how can i convert the angle between my mouse pointer and the center of the jframe to raidans?
  7. Replies
    5
    Views
    241

    Re: mouse pointer finder?

    i cant put codes because there's no codes yet at all..

    i think my question is not clear..

    how will i know if the mouse pointer is (45 degrees to 135 degrees) to the center, or exactly where...
  8. Replies
    5
    Views
    241

    mouse pointer finder?

    2215

    how can i put it this way,
    if the mouse pointer is in the orange region, it will give me 0;
    if the mouse pointer is in green region, it will give me 1;
    in red is 2;
    in violet is 3;
    ...
  9. prevent all possibilities of resizing jframe

    my layout is Absolute and i have jlabel with an image BIGGER than the frame,

    on editor (netbeans) it is fine but the time i ran it the frame is resized according to the label size, and i set the...
  10. Replies
    3
    Views
    215

    Re: Moving sprite with keyboard slight problem

    in a keylistener i did this




    public void KeyPressed(KeyEvent ke){
    if(ke.getKeyCode()==KeyEvent.VK_LEFT){
    direction[3] = 1;
    }
    /*
  11. Replies
    3
    Views
    215

    Moving sprite with keyboard slight problem

    i got an image and i can move it with my keyboard (left/up/down/right)

    when i LONGPRESS an arrow key like how you usually do this -> wwwwwwwwwwwwwwwwwww,

    it does move 1 pixel away, then stops...
  12. Replies
    7
    Views
    317

    Re: Problem with java media framework

    please look at my attachment, it was been there since this thread was started, and if you dont want to, it has value and it contradicts to the output saying it is null
  13. Replies
    7
    Views
    317

    Re: Problem with java media framework

    i think the null value is the MediaLocator saying i cant see the file, but i printed the value of the file, it has. I dont know why it was invalid, i was doing it a while ago (no arrays on Players)...
  14. Replies
    7
    Views
    317

    Re: Problem with java media framework

    MediaLocator mL = new MediaLocator(file[i].toURI().toURL());
    System.out.print(file[i].toURI().toURL());

    //ERROR POINTS HERE
    player[i]= Manager.createPlayer(mL);

    full code is on the top
  15. Replies
    7
    Views
    317

    Problem with java media framework

    This is my code that plays the audio files:



    /**
    * Author: audioPlayer
    * Project: DesktopApp
    */

    package appClass;
  16. Replies
    10
    Views
    508

    Re: button overlapping the other button

    exactly, when i try to set their location the same, they tend to relocate each other(side by side)

    --- Update ---



    that is my main problem, the layouts. i dont know which layout to use but...
  17. Replies
    1
    Views
    255

    opacity bug? or just my code

    this is my problem:
    2024

    as we can see, the labels and jbuttons looked like they are opaque but i set:



    lblTime.setOpaque(false);
    b1.setOpaque(false);
    b2.setOpaque(false);
  18. Replies
    10
    Views
    508

    Re: button overlapping the other button

    ... how do you make the buttons overlap each other?
  19. Replies
    10
    Views
    508

    button overlapping the other button

    the title says it all, I wanted to make it look like this: 2020

    The inner button(red) and the outer button(yellow) should be a separate
    buttons because I have this:


    @Override
    protected...
  20. Replies
    6
    Views
    327

    Re: swing layout problems

    those steps completed the answer to my problem :) thank you!
  21. Replies
    6
    Views
    327

    Re: swing layout problems

    I cant event reply... mods are preventing me to -_-


    EDIT:


    package components;

    import java.awt.*;
    import javax.swing.*;
  22. Thread: Need java mentor

    by xchan
    Replies
    1
    Views
    745

    Need java mentor

    I need java mentor that tells me things i need to do and acts as my guide, I really want to do something with my damn netbeans with java SE but i dont know what to do. If you'll be my mentor you wont...
  23. Replies
    6
    Views
    327

    Re: swing layout problems

    import java.awt.*;
    import java.awt.geom.Ellipse2D;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.WindowConstants;

    public class...
  24. Replies
    6
    Views
    327

    swing layout problems

    I wanted to make my buttons round, 2018. Basically, i know how to make round buttons, it is by making a class that extends JButton and do some paint stuff - BUT, when i try to add the button to the...
  25. Re: how to determine type of component of listener's source

    i cant explain any better than this..

    i have lots of components like buttons and labels that has the same Listener, now i want the listener to tell me what kind of source he got (JButton or...
Results 1 to 25 of 28
Page 1 of 2 1 2