Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
34% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
3
Downvotes Received
12
Posts with Downvotes
5
Downvoting Members
8
2 Commented Posts
~17.5K People Reached
About Me

Hi. Just ask me for more info.

Interests
Anything interesting.
PC Specs
Toshiba P105-S6177 stock with Win 7.
Member Avatar for Nandomo

Is it possible to OCR an image using java? Any links to logic or examples or APIs would be appreciated.

Member Avatar for jwenting
0
99
Member Avatar for Nandomo

I am sending a file over datagram sockets, all of the packets arrive perfectly fine except the last one, since it does not fill the buffer of bytes when it is sent through the network those bytes in the array which didn't have data now have junk information that corrupt …

Member Avatar for JamesCherrill
0
118
Member Avatar for Nandomo

Is there any way I can make this select case more efficient? Select Case cboBoard.SelectedIndex Case 0 To 1 If intDaysRented = 0 Then If intHoursRented > 3 Then lblCost.Text = FormatCurrency(arrDailyRates(cboBoard.SelectedIndex), , TriState.True, TriState.True) Else lblCost.Text = FormatCurrency((arrHourlyRates(cboBoard.SelectedIndex) * intHoursRented), , TriState.True, TriState.True) End If Else If intHoursRented > …

Member Avatar for Reverend Jim
0
170
Member Avatar for Nandomo

Is there any way to format the datetimepicker so that it only shows hourly intervals? I already put it so it only shows time... And when I try dtmPicker.CustomFormat = "HH" it doesnt work. I want the user to only be able to pick from hourly intervals without having to …

Member Avatar for Nandomo
0
290
Member Avatar for Nandomo

So I have the following. peer1 netblock 64.96.192.0/24 nexthop 61.40.0.11 AS path 600 3001 6001 5001 4001 i peer2 netblock 64.96.192.0/23 nexthop 61.40.0.12 AS path 600 40000 4001 i With my knowledge I think the algorithm would choose peer2 because it has a shorter AS path, but I want to …

0
146
Member Avatar for Nandomo

I am trying to understand the concept of ICMP and ARP... I made up the following network... and am having a tcpdump Ws1 and pinging Ws2. So by what I understand assuming all arp caches are empty and only looking at the packets that Ws1 will pick up.. Ws1 makes …

Member Avatar for taichichuan
0
160
Member Avatar for Nandomo

My ws0 is trying to ping 10.xx.2.1 and doesnt have an arp cache. I understand what the first redirect is for since my BR is sending the ws0 to look for that ip at R3, what is the second redirect for?

Member Avatar for JorgeM
0
75
Member Avatar for Nandomo

I have a webservice that draws a line chart, first line: an range of dates and their stock values. Second line: a moving average of the dates, so if I input a value of 5 it will give me the same data as line 1 but with 5 day intervals. …

0
122
Member Avatar for Nandomo

I am working on a web service. I have a form with a button. When I click the button it calls my service class and I populate a list from an xml document with stock information. Then from the form class it calls another method inside the service class to …

Member Avatar for Nandomo
0
188
Member Avatar for Nandomo

So I am making an application on visual studios and I wrote a method to return a double after going through a list of data. I printed the list and know its there but the method pretends its not there and returns the code i initialize the variable with. Help? …

Member Avatar for Nandomo
0
145
Member Avatar for Nandomo

So basically I am writing a tic tac toe program in java which is peer to peer using tcp sockets. The data I am transferring has to be encrypted and checksummed. I know how to implement both, yet I do not know in what order to do it in. Should …

Member Avatar for stultuske
0
215
Member Avatar for Nandomo

I am running centos on my VMware server console, and I want to know how to make a second virtual hard disk on which I can expand the size of the primary logial volume AND and a third to hold two other file systems # fdisk -l Disk /dev/sda: 12.8 …

0
159
Member Avatar for Nandomo

DatagramSocket SERVERSOCKET = new DatagramSocket(9999); byte[] receiveData = new byte[2000]; while (true) { DatagramPacket receivePacket = new DatagramPacket(receiveData, receiveData.length); SERVERSOCKET.receive(receivePacket); String LINE = new String( receivePacket.getData()); InetAddress iPAddress = receivePacket.getAddress(); int port = receivePacket.getPort(); } Ok I have this right now, I have been googling, yet I do not know …

Member Avatar for Nandomo
0
387
Member Avatar for Nandomo

I am trying to decimal format a group of numbers into a 2D array and I keep getting an Error in Netbeans. It says where I have the d.format(0.0); that I need a double and have a String when then input present is 0.0. This is driving me insane and …

Member Avatar for jwenting
0
229
Member Avatar for Pobunjenik

Hi everyone! So, I hereby hope to show that I've made progress in coding java (largely due to the help of this great community). I want to thank everyone for dealing with me (especially James). :) The goal: The code below is supposed to seed a layout of boats into …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Nandomo

I am making a battleship game with 2 boards, each is on a JFrame, but I do not know how to get them to close when a button is pressed in order to show the new one. package battleship; import java.awt.Color; import java.awt.GridLayout; import java.awt.Toolkit; import java.awt.event.WindowEvent; import javax.swing.JButton; import …

Member Avatar for Nandomo
0
260
Member Avatar for Nandomo

Is there any way I can place a video in a JFrame/JPanel? Can someone point me to a tutorial, I can't find anything useful through Google.

Member Avatar for Ezzaral
0
190
Member Avatar for Nandomo

Ok I am making a user interface for Battleship and want a Frame to appear on the side with the title and instructions of the game in a disabled JTextArea. With the code I have now I can get the JFrame to open blank. The JTextArea only appears if I …

Member Avatar for bguild
0
158
Member Avatar for Nandomo

package battleship; public class BattleShip { public static void main(String[] args) { Addons a = new Addons(); Board b = new Board(); Computer c = new Computer(); Human h = new Human(); LinkedList list = new LinkedList(); while(a.intro()) { a.sleep(1); a.countDown(5); b.prepareBoard(); do { h.play(b.getBoard()); a.checkWinner(b.getBoard()); System.out.println("How the Board stands."); …

Member Avatar for stultuske
0
245
Member Avatar for Nandomo

package battleship; import sun.audio.*; import java.io.*; public class Sound // Holds one audio file { public void playIntro() { AudioStream bGM; try{ bGM = new AudioStream(new FileInputStream("intro.wav")); AudioPlayer.player.start(bGM); } catch (IOException error){} } } I have that on one of my games and the music doesnt run, any help? If …

Member Avatar for stultuske
0
228
Member Avatar for Nandomo

I have this assignment for my java class, it runs fine, but the professor wants us to incorporate a private gradeExam method, which I don't know how it work fit, since I cannot call it from the DriverTest class which contains my main. package project6; /* A demonstration of how …

Member Avatar for Nandomo
0
198
Member Avatar for Nandomo

I have a running calculator on VC++ and don't know how to get an exit button to work. (The X on top right works fine, but want an exit button) I have tried OnOK(); this->CloseWindow(); And other things. Still not managing to close the program from the button. Any tutorials …

Member Avatar for anuj.juthani
0
3K
Member Avatar for Nandomo

I am working with a tabbedpane with two panels on netbeans... I have a button action which switches panels, "setVisible()", but when it switches the panels the buttons on the first panel show if you roll the cursor over them. Any settings I can change in order to have my …

Member Avatar for jazz_vill
0
139
Member Avatar for Nandomo

I am making an ATM machine and trying to get my accounts from a .csv file to an ArrayList and am having all sorts of issues. Can I get help? It is giving me problems on line 52 of the class where I read and put the items into Arraylist. …

Member Avatar for JamesCherrill
0
139
Member Avatar for Nandomo

I am making a Gui for an inventory. And I want for each time a person presses my next button, the jLabels to display the next item in the arrayList. Right now I'm stuck as it only displays the last element, Any help please? [CODE] // action on the button …

Member Avatar for Nandomo
0
144
Member Avatar for Nandomo

I am writing a program that gives and grades a test. Currently I am working on reading in the text from a file to administer the test, but am running into limitations. So I have a couple of questions. Is there any way I can read in a segment of …

Member Avatar for Nandomo
0
197
Member Avatar for Nandomo

I made an arraylist of objects which contain a question and an answer... How can I display just the question? Sooooo confused. Tutorials or anything will help, thanks in advance. [CODE] /* text file */ T Which Java keyword is used to define a subclass? extends S What is the …

Member Avatar for Nandomo
0
180
Member Avatar for Nandomo

I am doing Gui's on Netbeans and am writing a program that sells flower ornaments and such. I have everything added to an arraylist. But when it comes to showing, I am on another tab and need to pass the arraylist to that method for display, any help? Link me …

Member Avatar for Zaad
0
178
Member Avatar for rajhans

Hello All, I have stuck in a problem. There are set of strings of different length. I have to remove repeated elements from all the strings except from the string in which it appeared first. For example say the input strings are "3 4 7 2 15 10" "5 7 …

Member Avatar for rajhans
0
198
Member Avatar for Nandomo

This is the hardware section so I guess I wanna try something. I have a spare Surfboard modem sitting around my house, anything I can do with it? I mean turn into something useful... I try to look stuff up, but can't find anything that calls my attention. Any ideas …

Member Avatar for jingda
0
93