Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. demner

    Application timeout script/setting

    We have two applications published on Citrix, and one launches the other. We have lots of licenses for the first application, but not very many for the second application. We want to close the second application if it hasn't been used for a period of time to free up licenses. I am looking for...
  2. demner

    Text field actionlistener

    you can implement a KeyListener: class blah implements KeyListener add it to your textbox textBox.addKeyListener(this); and these methods to your (or another) class public void keyTyped(KeyEvent event) { } public void keyPressed(KeyEvent event) { if (event.getKeyCode() ==...
  3. demner

    Jar question

    Have you looked at the java jar tutorial: http://java.sun.com/docs/books/tutorial/jar/basics/index.html Especially in the section called manifest files.
  4. demner

    Java program into .exe

    You can't use an executable jar file? Then you just install the JRE on the client machine, fix the classpath, click on the jar file, and it runs just like an exe. (Plus you get the platform independance mentioned earlier) It's a little weird working with the manifest file, but should be ok...
  5. demner

    Real Brainer question, looking for a simpler answer.

    Can you assign a row/column to each position (so the upper left would be 1,1 and the lower right be 3,3), then you could use something like validMove = (Math.abs(thisRow - nextRow) + Math.abs(thisCol - next Col) = 1) This is assuming that you can't click on a cell that moves you off the board.

Part and Inventory Search

Back
Top