57 Discussion / Question Topics

Remove Filter
Member Avatar for overwraith

Hello, I was doing some research on enumerating the different drives on a system, and I found some code on MSDN. Here is the page: http://msdn.microsoft.com/en-us/library/windows/desktop/aa364975%28v=vs.85%29.aspx The source code looks like this: DWORD dwSize = MAX_PATH; char szLogicalDrives[MAX_PATH] = {0}; DWORD dwResult = GetLogicalDriveStrings(dwSize,szLogicalDrives); if (dwResult > 0 && dwResult …

Member Avatar for overwraith
0
266
Member Avatar for overwraith

Hello, I am working on a program, and I noticed that all my threads are starting and stopping in exactly the same order I put them in, and they are not trading places in the output, or mixing output like concurrent objects should. Here is my code: public class RaceHorseAppII …

Member Avatar for JamesCherrill
0
134
Member Avatar for overwraith

I have been having some trouble with this action listener scenareo, and I am doing it exactly like what my java book says to do, and something is still not working. In the action listener the if statement is not working correctly. Here is an example of my code. The …

Member Avatar for overwraith
0
177
Member Avatar for overwraith

If there is a String Buffer, and a String Builder based on array technology, why then is there no equivalent mutable data type based on a Linked List? Or is there?

Member Avatar for overwraith
0
261
Member Avatar for overwraith

I thought it would be really cool if JOptionPane could be extended to accept an array of strings that represent messages, and have the method return an array of strings that represent user answers to the messages which are entered into the dialog box. This would make getting GUI input …

Member Avatar for overwraith
0
2K
Member Avatar for overwraith

I hope this is the right location to make this post. I downloaded the source code for a rich text editor from; http://code.google.com/p/android-richtexteditor/ and the code will not compile correctly. The errors I get are; "Unable to resolve target 'android-4'", "AndroidManifest.xml file missing!", and in the Html.java file there are …

0
67
Member Avatar for overwraith

I am working on a "for loop that finds all the drives on a system that match a given criteria and am trying to accumulate the drive letters into a list(string) which I can then pipe to a command which will do something to those drives. I do not use …

Member Avatar for overwraith
0
227

The End.