Search:

Type: Posts; User: gib65

Page 1 of 2 1 2

Search: Search took 0.10 seconds.

  1. Re: writing a program to interface with other programs

    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...
  2. Re: writing a program to interface with other programs

    Yes, I came across that myself. Looking into it. Thanks.
  3. Re: writing a program to interface with other programs

    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...
  4. writing a program to interface with other programs

    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...
  5. Replies
    3
    Views
    2,754

    Re: importing my application into NetBeans

    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.
  6. Replies
    3
    Views
    2,754

    Re: importing my application into NetBeans

    I am cross-posting this here: what is a build script?
  7. Replies
    3
    Views
    2,754

    importing my application into NetBeans

    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...
  8. Replies
    2
    Views
    1,505

    Re: java web start still not working

    No! I had no idea how to make the output console show up. I will google this as you suggested.
  9. Replies
    2
    Views
    1,505

    java web start still not working

    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...
  10. Replies
    4
    Views
    1,804

    Re: java web start not working

    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...
  11. Replies
    4
    Views
    1,804

    Re: java web start not working

    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...
  12. Replies
    4
    Views
    1,804

    java web start not working

    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...
  13. Replies
    4
    Views
    1,541

    Re: compiling from a txt file

    Thanks, this worked.

    And sorry for not replying earlier. My computer crashed and I had to reinstall everything.
  14. Replies
    4
    Views
    1,541

    compiling from a txt file

    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...
  15. Replies
    5
    Views
    4,428

    Re: key binding: VK_ALT and VK_SHIFT not working

    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...
  16. Replies
    5
    Views
    4,428

    Re: key binding: VK_ALT and VK_SHIFT not working

    Thanks for the suggestions aussiemsgr.

    I just cross-posted this on another forum: key binding: VK_ALT and VK_SHIFT not working - Java Forums
  17. Replies
    5
    Views
    4,428

    key binding: VK_ALT and VK_SHIFT not working

    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...
  18. Replies
    4
    Views
    3,442

    Re: doing arithmetic on Integer objects

    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...
  19. [SOLVED] Re: font size and other attributes for Graphics.drawString()

    Oh yes, I don't know why I missed that. thanks.
  20. [SOLVED] font size and other attributes for Graphics.drawString()

    How can I set the font size and other attributes like italics, bold, style, etc. in a call to Graphics.drawString(String,int,int)?
  21. Replies
    4
    Views
    3,442

    Re: doing arithmetic on Integer objects

    Well, the compiler is happy with this.

    I'm using Integers because I'm placing them in a Vector.
  22. Replies
    4
    Views
    3,442

    doing arithmetic on Integer objects

    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...
  23. Replies
    3
    Views
    2,849

    [SOLVED] Re: how do I undo an AlphaComposite?

    That did the trick. Thanks both.
  24. Replies
    3
    Views
    2,849

    [SOLVED] how do I undo an AlphaComposite?

    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...
  25. Re: video game problem - delay in response to arrow key presses

    Thank helloworld,

    I tried a couple things:



    public void actionPerformed(ActionEvent actionEvent) {

    synchronized (this) {
Results 1 to 25 of 31
Page 1 of 2 1 2