Perfect, thank you.
Type: Posts; User: JosPhantasmE
Perfect, thank you.
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...
Ohh okay.
And how do I exactly check if I'm compiling it with the source code included?
So the code between the /* and */ wont be compiled into the "Executable Jar File" (which is how I am compiling it)?
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,...
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...
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);...
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.",...
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...
Can you tell me, if you have an idea on how can I tell the OS that it is okay to update?
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...
Hello guys.
I have the following code:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class TextFieldDemo extends JPanel implements ActionListener {
Is there any way to compress that java installation file, so it wont be as heavy as it is now.
Notting?
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...
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.
I solved the problem by doing this:
if((value = Error) != null)
{
...
}
What do you mean by NPE?
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:
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...
So nobody has an Idea, why is this not working on windows xp?
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
This is my code:
//By José D. Hernández, 2013.
import java.io.*;
import javax.swing.*;
import java.awt.*;
public class PasswordDialog
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.
...
Perfect, thank you very much! I stop it by using a boolean.