Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~36.6K People Reached
Favorite Forums
Favorite Tags
Member Avatar for glenak

I went to the official JAVA forum, but either those guys there have no clue how to solve this or there's no solution to it, in which case, Java applets are useless and java should stop pimping it. I have to say, this is the most frustrated I've been at …

Member Avatar for lilly13
0
1K
Member Avatar for glenak

I was trying to use java's native Properties class to edit my ".properties" file and save them, but then I was put off by the fact that in order to do that I had to "store" the properties file by re-writing it back to disk, which simply erased all other …

0
91
Member Avatar for glenak

Hi all, I'm working on a system that does a bunch of stuff, as well as monitors the current date on a system, checks it against a stored date in a database, and if both dates are exactly the same, sends an email automatically to a bunch of users. Now, …

Member Avatar for NormR1
0
102
Member Avatar for glenak

Hi guys, Is it possible to bind a the column of a table in a database to a jcombobox or jlist? I'm asking, because I'm currently working on a project in java that involves displaying data from a database table in a list and combobox and I'm trying to find …

Member Avatar for stevanity
0
96
Member Avatar for glenak

I saw this code in a textbook and I tried to put in my eclipse IDE, but it didn't work: [CODE] #include "GradeBook.h" #include <iostream> using namespace std; // GradeBook class definition class GradeBook { public: // function that displays a welcome message to the GradeBook user void displayMessage() { …

Member Avatar for glenak
0
155
Member Avatar for glenak

I'm using visual studio 2010 and even though I'm not new to VB.NET I still want to get the best possible book that can teach me what I need to know. Any suggestions?

Member Avatar for glenak
0
165
Member Avatar for glenak

I've installed MinGW so I can use it with my eclipse. What I want to know is do I need to install MSYS?

Member Avatar for Ancient Dragon
0
64
Member Avatar for glenak

So far, from what I've learned from the c++ book I'm reading, the [B]int main()[/B] function in a c++ class is kind of like the [B]public static void main(String args[])[/B] method in java. (I'm a java person and I'm new to c++). However, I found out that within my source …

Member Avatar for gerard4143
0
139
Member Avatar for glenak

Hi, So I've been having problems with my Eclipse C++ IDE. In other words, I haven't been able to run anything, not even a hello world program. I think the problem has to do with the fact that I don't have a c++ complier in my system. I use Windows …

Member Avatar for glenak
0
150
Member Avatar for glenak

This is a proper beginner's question, as you can tell from the thread's title. I have to say, working with java is so much less frustrating. I created a managed c++ project on eclipse, and created a c++ class. Problem is I can't run any of the codes I write …

Member Avatar for kes166
0
121
Member Avatar for glenak

I want to begin writing C++ codes in Eclipse. When I try to create a new C++ project I am given the option of choosing an executable project type, a shared library project type or a static library projec type. What's the difference between all these project types and which …

Member Avatar for glenak
0
211
Member Avatar for glenak

For all you experienced C++ developers, do you mostly develop windows applications? What's your IDE of chioce, the one you feel is best suited for such development? Would that be Visual Studio 2008 (or 2010, since that is the latest) or something else - like Eclipse or Netbeans?

Member Avatar for Valaraukar
0
141
Member Avatar for glenak

Hi, Java has been my choice programming language for many, many years now, and I want to start doing C++. I've written in C++ before, but that was a while back. I'm treating myself as a beginner at the moment. I use Eclipse to write Java, and I recently updated …

Member Avatar for glenak
0
228
Member Avatar for percival

please help me in making a voting system. dont know how to tally the votes in c++.

Member Avatar for Valaraukar
0
190
Member Avatar for glenak

I've been programming in Java using Java SE, but I want to move on to Java EE. Is this a good idea? I used to think I had to pay to download the Java EE SDK, but that's not the case. So, basically, I'm a bit confused about what Java …

Member Avatar for Dean_Grobler
0
146
Member Avatar for glenak

I know how to write messages and save it as a .txt file (using Input/Output streams). What I want to do now is to be able to click a button and have notepad open the .txt file. How can I do this?

Member Avatar for glenak
0
130
Member Avatar for glenak

Hey guys, I have two questions. I have a multithreaded server that is able to process requests from more than one client at a time. However, my server has a habit of shutting down after a while, despite that I have an infinite while loop to keep it accepting connections. …

Member Avatar for glenak
0
161
Member Avatar for glenak

This isn't a problem, just a curious question. I'm using the password text field in my gui and basically, this: [CODE] String pin = new String(passwordField.getPassword()); Person p = new Person(); p.setPassword(Integer.parseInt(pin)); [/CODE] leads to a number format error, despite that I didn't enter a text. But this: [CODE] String …

Member Avatar for NormR1
0
124
Member Avatar for glenak

Hi, let's say I have a program in my external hard drive and there's a code in my app that references a picture or a file in that hard drive, how do I make it so that when I take my external hard drive to another computer, even though the …

Member Avatar for glenak
0
59
Member Avatar for glenak

Hi, this is a very strange problem for me. I'm writing an app that uses the BouncyCastle API. I downloaded the jar file from their website and I put it in my project build path so as to use it, and it works. However, when I try to run the …

Member Avatar for NormR1
0
9K
Member Avatar for glenak

Ok, I'm really confused here. I know that the only way to transfer objects via input/output streams is if they are serialised. If i wanted to transfer objects of my Person class from my client to server, I would have to implement "serializable" in my Person class. That's all well …

Member Avatar for glenak
0
133
Member Avatar for glenak

Hey guys, check this out: [CODE] File test = new File(path + "person.data"); FileOutputStream fos = new FileOutputStream(test); ObjectOutputStream oos = new ObjectOutputStream(fos); Person p = new Person(); Person p2 = new Person(); p.setName("Sub Zero"); p.setGender("Male"); p2.setName("Sonya Blade"); p2.setGender("Female"); ArrayList<Person> people = new ArrayList<Person>(); ArrayList<Person> people2 = new ArrayList<Person>(); people.add(p); …

Member Avatar for glenak
0
18K
Member Avatar for glenak

Hi, So, I did create a client and a server, and all of them work pretty well. When I send messages to the server, rather than sending one message at a time, I put the information in a class, say like a Person class - I put set the Person's …

Member Avatar for ~s.o.s~
0
86
Member Avatar for glenak

While I know how to set this up perfectly, I was wondering, is it possible to set up my jdbc connection with my access database so that I have to put in a username and password? I would really like to do this with access, if it's possible

0
65
Member Avatar for glenak

Hi, for any of you who have done some java programming in cryptography I need your help. I'm trying to right and blinding and unblinding procedure, however at the final stage I should get a true, but I'm getting a false. If you know what's wrong, can you point it …

Member Avatar for glenak
0
140
Member Avatar for glenak

Hi, I want to code a client/server app such that there will be one server and multiple clients interacting with the server. The clients will send messages, like "Hello, server," and the server will send messages back. I know how to write a simple client/server app, however im confused as …

Member Avatar for glenak
0
219
Member Avatar for glenak

Hi all, So, I'm building an SSL server/client app, and I keep getting this exception: [CODE] javax.net.ssl.SSLHandshakeException: renegotiation is not allowed [/CODE] Does anyone know how I can work around this? Here are my codes: [U]SERVER:[/U] [CODE] //server.jks = keystore //ServerJKS = keystore password //SeverKey = certificate's password (certificate = …

0
55
Member Avatar for glenak

Ok, I've never seen a while loop like this. Please can someone help explain this: [CODE]CipherInputStream cis = new CipherInputStream(new FileInputStream(new File("plaintext.txt")),cipher); FileOutputStream fos = new FileOutputStream(new File("ciphertext.txt")); byte[] cipherTextBytes = new byte[8]; int i = 0; while((i=cis.read(cipherTextBytes))!= -1) { fos.write(cipherTextBytes,0,i); }[/CODE] Ignore the whole CipherInputStream object if you don't …

Member Avatar for JamesCherrill
0
115
Member Avatar for glenak

If there's anyone who knows a thing or two about this, your help would be much appreciated. This is a code I'm working on: [CODE] try { //ask user for short password System.out.print("Enter a password: "); //read in a character at a time, putting them into the buffer while((buf[bufPos++] = …

Member Avatar for javaAddict
0
4K
Member Avatar for glenak

Hi all, I want to write some cryptographic operations using RSA, but its provider, bouncy castle, does not come inbuilt in java, which is why when I put in this code: [CODE]Provider bcProv = new org.bouncycastle.jce.provider.BouncyCastleProvider();[/CODE] I went to the providers site and they said something about putting this line …

Member Avatar for glenak
0
105