- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 5
- Posts with Upvotes
- 5
- Upvoting Members
- 5
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- Interests
- Coding, C#, Java, C, computers and games in general
- PC Specs
- I7-3550, 16Gb Corsair Vengence DDR3-Ram, 7950HD raedon GFX, Steelseries G7 keyboard, Roccat Kone[+]…
Hey! So I am having trouble with this [problem](projecteuler.net/problem=18)! Basically you have to find the path that gives the largest sum down this tree: 75 95 64 17 47 82 18 35 87 10 20 04 82 47 65 19 01 23 75 03 34 88 02 77 73 07 … |
|
Hey! Im doing a project, where i have to manage a bunch of different appliences. I´ve made a custom generic collection class that has a few different search methods. Now the collection class has to hold all of the different appliances (so they all inherits from the same superclass: Appliance). … |
|
Hey! Im fairly horrible(and new) at networking :) But i have been trying to setup a Mumble server on my newly accuired Raspberry Pi (running debian wheezy). Now the server works internally. And have setup a virtul server path with my D-LINk router to my servers local ip. But nobody … |
|
Hey! So i have started learning c, quite refreshing when i normally code in Java :) I have this task where i need to store three int values in an unsinged int via bitwise operators. Its for a RGB picture where the colour is limited to 256. I have done … |
|
Hey :) First off this might actually be a network problem! But im also uncertain of the java code and how networking works in java. The program is basically just to transfer a file if that matters! So this is my code for setting up the connections: Server: //connection(s) private … |
|
HI.I need advice on the best IDE i can use to code and what are the reasons. Thank you. |
|
Hey! So i'd like to learn the JMF api. And to start i wanted to build an application that can capture frames/video from a webcam. Now, i started by trying to list all the devices: Vector info = CaptureDeviceManager.getDeviceList(null); if (info == null || info.size()==0) System.out.println("No Capture devices known to … |
|
Hi there, I'm having trouble with floats in Java. My program accepts a number in the form of a float. The number typically has two decimals (but not always). It seems to work fine in most cases. For example, I could put in 54.67, and that number would be passed … |
|
|
I'm trying to add the int values of Integer objects within an ArrayList, using a recursion (for the first time). Here's what I have so far: import java.util.Scanner; import java.util.ArrayList; public class SumArrayList { private static int calculateSumArrayListHelper(ArrayList<Integer> duplicate) { if (duplicate.size() == 0) { return 0; } int lastNum … |
So i have a working network file transfer program now (if you want to see some of the code look at my other '[article](http://www.daniweb.com/software-development/java/threads/426357/networking-in-java-not-doing-it-right)'). But now that im trying larger files, im running into a problem where i run out of memory (which is understandable when the array is 1 … |
|
HOw can i assign a default action of Enter key after cell of jtable is edited to a Button??? |
|
I have two differnt classes' that extend from the JFrame class. I have a button on one frame that should go to the next Frame, but how would I do that? |
|
Hi, are there any Java book available for some one who has NO knowledge about programming at all? I tried books like head first java, thinking in java but they were no help. Head first java started out with coding and I just knew nothing by reading the syntax. Are … |
|
I have created the buttons for on-screen keyboard. The only thing I don't know is how to add the corresponding letter/character via actionListener to the jTextField. I know if it was not jTextField I could use "append". |
|
EDIT: Im an idiot. The hand-shake like mechanic i put in where the server waits for the client to respond was the reason it was so slow, removed it and it worked. I misunderstood/forgot how streams work.. Ok. So i just started learning how to use the network utility there … |
|
Hey i am making an application that stores employee's details and the output is different than what it should be i was expecting the output to be the toString() in the employee class can anyone see anythin wrong: //Imports: //******************************************************************** //Employee Class. public class Employee { //Variables. private String employeeName; … |
|
Is there anyway, through java, to tell whether a tv connected to your computer is turned on or off? Or if its not build into java is there any way to even do this in windows? Because nothing change in windows or my raedeon driver when i turn my tv … |
|
|
How can I turn radio button in another class which I cannot change but I need to turn it on from another class? How can I pass action event to it? Thanks |
Hi everybody, I'm trying to figure out how much memory was used for merge sort algorithm. I believe it is just one or two expressions, but can't come up with them by my own. public void mergeSort (T[] data, int min, int max) { T[] temp; int index1, left, right; … |
|
Im trying to make a highlighter that will highlight a word after I have typed it in a JTextArea. The problem I have, is that after I press space, the highlighter doesnt stop. It continues highlighting the next words as well. public class highLighter { JTextArea ref; Highlighter hilite; String … |
|
|
Hey there. I'm trying to raise a longs to the second power, but as you might know, Math.pow takes two doubles, and also returns a double. Efficiency is kind of important, but it is more important to have this working. Do you know how I might go about solving this? … |
Im creating a banking system for a university assignment. Basically I have been struggling with encrypting user data. Its a first year assignment (in a 3 year bachelor) please bear this in mind when commenting x))) [CODE] //The constructor sets the global veriable key to a user defined value. //The … |
|
Oka. So i have this rather simple program, basically i want it to be able to count the number of hours it has been open. My problem is that i am trying to use [CODE]import java.util.date; Calendar calendar = Calendar.getInstance();[/CODE] And apperently this does not update after the program has … |
|
Hey! I just startet fildeling around with c++ a week or so ago. I have some experience in Java and python. Anyways, i wanted to make this simple hangman game; [code] #include <cstdlib> #include <iostream> #include <string> #include <fstream> using namespace std; void exit(int exitcode); char hus[] = {'h', 'u', … |