Search:

Type: Posts; User: JosPhantasmE

Page 1 of 3 1 2 3

Search: Search took 0.30 seconds.

  1. Replies
    8
    Views
    1,315

    Re: Skip code to compile.

    Perfect, thank you.
  2. Replies
    8
    Views
    1,315

    Re: Skip code to compile.

    When I export my project to an executable Jar file: (example.jar) its content will be example.class and the META-INF and org folder.

    So my question is, the comments that are between /* and */ will...
  3. Replies
    8
    Views
    1,315

    Re: Skip code to compile.

    Ohh okay.

    And how do I exactly check if I'm compiling it with the source code included?
  4. Replies
    8
    Views
    1,315

    Re: Skip code to compile.

    So the code between the /* and */ wont be compiled into the "Executable Jar File" (which is how I am compiling it)?
  5. Replies
    8
    Views
    1,315

    Skip code to compile.

    Hello guys again!

    I just want to know if is possible to compile code skiping part of that code in eclipse.

    Example (I dont want eclipse to compile what is after ***):



    //By Mike Liberato,...
  6. Re: Restrict String character's type and location.

    I've been reading about it for the past 45 minutes and I still have no Idea how they limit the characters:

    For example, i found the next code:


    class DocumentInputFilter extends DocumentFilter...
  7. Re: Restrict String character's type and location.

    Okay, I updated my code to this:



    JPanel userPanel = new JPanel();
    userPanel.setLayout(new GridLayout(2,1));

    JLabel posLbl = new JLabel("POS #:");
    posLbl.setFont(font2);...
  8. Restrict String character's type and location.

    I have the next dialog to pop up and ask the user for some info:


    String id = (String)JOptionPane.showInputDialog(
    null,
    "Post #",
    "Información del cliente.",...
  9. Re: Downloading file from website and saving it locally.

    Cant find any information... Is there any other ideas? How can I modify this code to save to the local temp folder...?

    --- Update ---

    I'm working on windows...
  10. Re: Downloading file from website and saving it locally.

    Can you tell me, if you have an idea on how can I tell the OS that it is okay to update?
  11. Downloading file from website and saving it locally.

    Hello friends... :)

    I'm currently struggling with this code:


    import java.awt.FlowLayout;
    import java.io.*;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import...
  12. Replies
    1
    Views
    1,272

    Text inside Text Field

    Hello guys.

    I have the following code:


    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;

    public class TextFieldDemo extends JPanel implements ActionListener {
  13. Replies
    3
    Views
    1,189

    Re: Create my own Java installation.

    Is there any way to compress that java installation file, so it wont be as heavy as it is now.
  14. Replies
    3
    Views
    1,189

    Re: Create my own Java installation.

    Notting?
  15. Replies
    3
    Views
    1,189

    Create my own Java installation.

    Hi everybody.

    I don't know if this is possible or what I'm asking is stupid, but I'm still learning.

    I developed my first app and I'm already distributing it to my clients with a SetUp...
  16. Adding credentials to the Windows Credential Manager

    I want to know, is it possible to add credentials to the windows credential manager trough java? I did a Google search and I'm getting noting.

    Thanks.
  17. Replies
    12
    Views
    1,427

    Re: Running .JAR file issue.

    I solved the problem by doing this:


    if((value = Error) != null)
    {
    ...

    }
  18. Replies
    12
    Views
    1,427

    Re: Running .JAR file issue.

    What do you mean by NPE?
  19. Replies
    12
    Views
    1,427

    Re: Running .JAR file issue.

    Okay, thanks.

    I'll try that.

    --- Update ---

    Now, I'm using the code from the link that you posted.

    Let's say that you run this code:
  20. Replies
    12
    Views
    1,427

    Re: Running .JAR file issue.

    My problem is not reading or modifying the registry. (Thats what I think)

    Because it actually create the registry, that I want and read from it, bot it just don't continue. As you can see in my...
  21. Replies
    12
    Views
    1,427

    Re: Running .JAR file issue.

    So nobody has an Idea, why is this not working on windows xp?
  22. Replies
    12
    Views
    1,427

    Re: Running .JAR file issue.

    But it never terminate, and even if I dont add that in the code, it still dont run

    --- Update ---

    Still don't run in windows xp
  23. Replies
    12
    Views
    1,427

    Running .JAR file issue.

    This is my code:


    //By José D. Hernández, 2013.

    import java.io.*;
    import javax.swing.*;
    import java.awt.*;

    public class PasswordDialog
  24. Replies
    1
    Views
    953

    [SOLVED] Password Field Help.

    Following an tutorial I manage to create a screen that will ask for a Username and a password, but my purpose is not to create a login screen is to capture the info that the user put over there.
    ...
  25. Re: Print just what I want, help me with my code.

    Perfect, thank you very much! I stop it by using a boolean.
Results 1 to 25 of 57
Page 1 of 3 1 2 3