Results 1 to 8 of 8
  1. #1
    divs1210 is offline Member
    Join Date
    Apr 2011
    Posts
    16
    Rep Power
    0

    Default How to make Java program run in the background?

    I want to make a program that will have to display desktop notifications from time to time.

    I don't want the program to show up on the desktop taskbar, as the user might accidentally close it, though it will be nice if it is displayed in the system tray.

    is this possible using Java, or should i switch to C# for this project instead?

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,939
    Rep Power
    8

    Default

    Quote Originally Posted by divs1210 View Post
    is this possible using Java
    Yes. Did you google java system tray?
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    divs1210 is offline Member
    Join Date
    Apr 2011
    Posts
    16
    Rep Power
    0

    Default

    now i know the next question im going to ask u is not related AT ALL, but how can i make an editable table?

  4. #4
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,939
    Rep Power
    8

  5. #5
    divs1210 is offline Member
    Join Date
    Apr 2011
    Posts
    16
    Rep Power
    0

    Default

    thanks a LOT. that's exactly what i needed.

  6. #6
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,939
    Rep Power
    8

    Default

    Quote Originally Posted by divs1210 View Post
    thanks a LOT. that's exactly what i needed.
    No problem.

    I don't want to sound like a smartass, but it probably would have been faster for you to just google both of these things. The API and the tutorials should be the first place you check. You'll save yourself tons of time by doing that before coming to a forum.

    But either way, glad you got it sorted!
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  7. #7
    divs1210 is offline Member
    Join Date
    Apr 2011
    Posts
    16
    Rep Power
    0

    Smile

    yup.

    sorry. i know i should have googled it first. just that i wasn't sure whether Java even SUPPORTED this functionality.

    here, i would like to ask u ANOTHER question, which is again TOTALLY unrelated to the topic:

    How do i write a pdf file WITHOUT USING any of those APIs available on the net?
    How do i get to know the FORMAT for a pdf file?

    i tried searching adobe's site, but got nowhere.

    Also, pls tell me how to format other types, like doc, docx, rtf, etc. as well.

    ..and thanks in advance!

  8. #8
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,939
    Rep Power
    8

    Default

    Quote Originally Posted by divs1210 View Post
    yup.

    sorry. i know i should have googled it first. just that i wasn't sure whether Java even SUPPORTED this functionality.

    here, i would like to ask u ANOTHER question, which is again TOTALLY unrelated to the topic:

    How do i write a pdf file WITHOUT USING any of those APIs available on the net?
    How do i get to know the FORMAT for a pdf file?

    i tried searching adobe's site, but got nowhere.

    Also, pls tell me how to format other types, like doc, docx, rtf, etc. as well.

    ..and thanks in advance!
    Why do you not want to use "those APIs"? Again, this is more of a question for google- you're probably going to have to use a 3rd party library (I think that's what you mean by "those APIs"). Somebody here might have some advice, but it's going to be quicker for you to just google it and try a few, see what you like. If you download one and then have questions, that's when we can help more effectively.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. How to make transparent background of an applet
    By liketanglung in forum Java Applets
    Replies: 0
    Last Post: 03-21-2011, 08:07 AM
  2. How to make a background image
    By Purple Turtle in forum Java Software
    Replies: 2
    Last Post: 11-04-2010, 07:32 AM
  3. How do I make a timer run in the background?
    By caryr in forum Advanced Java
    Replies: 15
    Last Post: 09-04-2009, 02:34 AM
  4. Is it possible to make a Phone call program using java?
    By fireball2008 in forum New To Java
    Replies: 2
    Last Post: 05-08-2008, 06:20 PM
  5. How to make the JTextArea background invisible
    By bradder in forum AWT / Swing
    Replies: 1
    Last Post: 12-05-2007, 06:30 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •