Doh! I forgot about being forward about cross-posting!!!
Sorry about that. I should know better - because I do know better.
I only forgot because I'm really anxious to figure out how to do this...
Type: Posts; User: gib65
Doh! I forgot about being forward about cross-posting!!!
Sorry about that. I should know better - because I do know better.
I only forgot because I'm really anxious to figure out how to do this...
Yes, I came across that myself. Looking into it. Thanks.
Thanks copeg, I will look into port/socket communication.
My first thought was that my Java application could somehow "borrow" the user input channels (i.e. keyboard and mouse) and send info as if...
There must be some mechanism that windows provides that allows an application programmed in whatever language to interface with other programs running on the same computer.
Specifically, I will be...
I get the requirement for a build script if I choose Java Free-Form Project.
But if I choose Java Project with Existing Source, I manage to get my project imported.
I am cross-posting this here: what is a build script?
I have created a rather large Java application from scratch - meaning that it was all done in Notepad (no IDE). Now I would like to import it into NetBeans and make it into a project. Is there a way...
No! I had no idea how to make the output console show up. I will google this as you suggested.
This is a follow up to a prior issue posted here. I think I'm making progress but I'm still struggling.
I'm having trouble getting a java web start application working. If you go to this website...
I would think that would be done whether I jarred it above the folder or from within it. In any case, I tried both approaches and I get the same error either way.
I think I'm going to cross-post...
That's what this tutorial says to do:
2. Create a JAR file containing your application's class files and resources.
For example, the following command creates a JAR file with the class files in...
I'm sorry if this is in the wrong forum but I couldn't find a place for questions on java web start. Anyway...
I have a java application uploaded as a JWS program: Maze Mania
Under the...
Thanks, this worked.
And sorry for not replying earlier. My computer crashed and I had to reinstall everything.
I use to be able to compile a txt file that had all my source files listed in it like this:
occupant.java
goodguy.java
morphon.java
...
I can't remember what I typed at the console. It was...
I received a reply in that thread I cross-posted on. It gives the solution to my problem and explains everything (including why ALT and SHIFT didn't work in key binding).
Thanks for everyone's...
Thanks for the suggestions aussiemsgr.
I just cross-posted this on another forum: key binding: VK_ALT and VK_SHIFT not working - Java Forums
I'm trying to bind the left alt key and the right shift key in a JPanel. Here's my code:
int RIGHT_SHIFT = KeyEvent.VK_SHIFT;
int LEFT_ALT = KeyEvent.VK_ALT;
// right shift (move...
It seems this *can* work (depending on your application), but one should know this operation creates a new Integer object out of the old. So if you had any other references to the old one, they will...
Oh yes, I don't know why I missed that. thanks.
How can I set the font size and other attributes like italics, bold, style, etc. in a call to Graphics.drawString(String,int,int)?
Well, the compiler is happy with this.
I'm using Integers because I'm placing them in a Vector.
Is there a way to do arithmetic on Integer objects? For example, I tried the following without success:
Integer I = new Integer(1);
I++;
I also noticed there is no setValue(int) method in the...
That did the trick. Thanks both.
In my code I have this:
g2d.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC, alpha));
I'm using this to make a few elements of geometry half-transparent (or whatever alpha so...
Thank helloworld,
I tried a couple things:
public void actionPerformed(ActionEvent actionEvent) {
synchronized (this) {