sorry but i wasnt satisfied by your answer :( what else i need to have?
Type: Posts; User: xchan
sorry but i wasnt satisfied by your answer :( what else i need to have?
sorry about that, but i asked for a java code or instructions that i can do in java...
so you would suggest me to write it in C++?
the program i wanted to access is (.exe), might help
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...
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 =...
ok thanks for that info but how can i convert the angle between my mouse pointer and the center of the jframe to raidans?
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...
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;
...
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...
in a keylistener i did this
public void KeyPressed(KeyEvent ke){
if(ke.getKeyCode()==KeyEvent.VK_LEFT){
direction[3] = 1;
}
/*
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...
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
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)...
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
This is my code that plays the audio files:
/**
* Author: audioPlayer
* Project: DesktopApp
*/
package appClass;
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...
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);
... how do you make the buttons overlap each other?
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...
those steps completed the answer to my problem :) thank you!
I cant event reply... mods are preventing me to -_-
EDIT:
package components;
import java.awt.*;
import javax.swing.*;
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...
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...
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...
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...