Hi, I was wondering if there is any way to make the keylistener "listen" across the entire application? Currently whenever I've used it I have always attached it to something else, like a JTextField...
Type: Posts; User: Lora_91
Hi, I was wondering if there is any way to make the keylistener "listen" across the entire application? Currently whenever I've used it I have always attached it to something else, like a JTextField...
I'm afraid I don't quite follow what you mean, but I fooled around a bit with it using a byte array and I think I got the result I needed:
InputStream inputStream = p.getInputStream();...
Greetings, and thank you for stopping by!
I'm working on a application in Java which needs to be able to send and retrieve Gmails, and depending on the received information possibly store some of...
After working with the code further, and doing even more searching, I finally found an example that works. I'll see if I can dig into it and get a better understanding of it now that it's finally...
I've looked through a number of tutorials throughout the past two weeks, and in every case there was something that ended up not working. Either it was missing code from the tutorial so it wasn't...
I'm afraid I haven't been able to make any progress, it feels like it should be so easy to do yet everywhere I look someone has done it differently, and none of the solutions I find seems to work for...
Strange, something is still wrong.
1: I download the file commons-codec-1.9-bin.zip
2: I extract the folder to a location where I can easily find it.
3: I right click the project, go down to...
Hm, no I downloaded these ones: FileUpload - Download Apache Commons FileUpload, tried both the bin and source, but no wonder they didn't work if neither was correct. ^^
I've downloaded the one...
I'm afraid even that doesn't seem to work, I tried several of the Apache folders, zips, java files, none of it removed the error message.
Hi!
I've got this annoying error message when trying to import:
import org.apache.commons.codec.binary.Hex.encodeHex;
"Import org.apache.commons.codec cannot be resolved", which after...
Greetings!
I'm using the class below to encrypt and decrypt data in my program. It works rather well with the exception that I can't for the mind of me get the recreation of the key to work. When...
Sorry for the late reply, but it's finally working thanks to all of your help, so I believe you are worthy of a big thank you! =)
Then how should I go about saving and storing information? Would it work if the .jar file is in a specific folder and the .txt files is in the same folder and use that folder as root?
Something...
No, I want it to refer to within the .jar file, same place the .txt can currently be found when it was extracted together with the rest of the project.
indaLogin.jar
Data
...
It confuses me as how to it can work so well in Eclipse but not outside of it, I have no idea how else to do it.
With:
public void saveAdminData() throws IOException
{
try...
Would this be more accurate?
URL fileName = MainFrame.class.getResource("/data/members/user_" + i + ".txt");
When used within Eclipse it wouldn't work unless I used "\\" between them for the...
Unfortunetely I seem to be unable to solve the problem after all, it's as I said similar but not exactly the same.
Error:
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation....
It does not work, it's what I had from the beginning when I posted this thread. =/
Edit:
Odd, now it does work... both by opening it by console and double clicking it. I'm noticing some other...
Aye, I opened the file in winrar and it contains the folders:
images
indaSupport.png
etc
LoginSystem
(lots of class files)
META-INF
MANIFEST.MF
Aye, the LoginSystemSource is the source folder.
ProjectName
LoginSystemSource
images
indaSupport.png
The LoginSystemSource is the source folder which holds the...
LoginSystem (Main package)
LoginSystemSource (Source folder)
images (Image folder)
indaSupport.png
Would it then perhaps be...
I tried removing all of the '/' at the start of every filepath line but still got the same result, same error. =/
--- Update ---
Yes, the program works perfectly within Eclipse, but not at...
Hm, I suppose the end result I get in the way I'm using it is the same as the example you posted, as of currently all of the filepaths the images use is based on String array variables so that the...
Greetings!
I've been working quite a bit with a login system the past couple of months and I now have a version that I would like to try "for real" by extracting it as a runnable .jar or .exe...
Ah thanks, and also thank you for all the help you've given me! <3