Posts
 
Reputation
Joined
Last Seen
Ranked #202
Strength to Increase Rep
+8
Strength to Decrease Rep
-2
98% Quality Score
Upvotes Received
64
Posts with Upvotes
54
Upvoting Members
38
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
18 Commented Posts
0 Endorsements
Ranked #396
~121.09K People Reached
About Me

I've been in computers since '76 (when I was in junior high school). Most of my work experience has been in contracting/consulting, since working my way through college, starting in '81. So I have LOTS of experience with lots of different technologies.…

Interests
Bicycling, Caving
PC Specs
Typically Windows, some Unix/Linux, mainframe when needed, and possibly others.
Favorite Tags
Member Avatar for darwin_nacional

Hi, I'm wondering if it's possible to have a desktop app with a database online? Can you give me an example? :P

Member Avatar for Elijah Alfredy
0
2K
Member Avatar for sing1006

xml file <?xml version="1.0" encoding="UTF-8" standalone="no"?><movies> <movie id="1111"> <title>Blackhat</title> <genre>thriller</genre> <duration> 90 mins </duration> <age>28</age></movie> <movie id="1002"> <title>The Wedding Ringer</title> <genre>comedy</genre> <duration> 100 mins </duration> </movie> <movie id="1003"> <title>The Avengers</title> <genre>action</genre> <duration> 180 mins </duration> </movie> <movie id="1004"> <title>Taken 3</title> <genre>action</genre> <duration> 100 mins </duration> </movie> <movie id="1005"> <title>Insurgent</title> <genre>Science …

Member Avatar for JeffGrigg
0
333
Member Avatar for noobjavacoder

ok, so i know this is stupid and probably the easiest thing in java but my brain is not working right now. so i'll ask, how do you add the numbers after you divide them in a for loop. for example: i ask a user to enter a number, the …

Member Avatar for noobjavacoder
0
161
Member Avatar for sing1006

try { File file = new File("/Users/Alex Ting/Desktop/test2/MovieList.xml"); DocumentBuilder dBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); Document doc = dBuilder.parse(file); NodeList movielist = doc.getElementsByTagName("movie"); for(int i =0;i<movielist.getLength(); i++){ Node m=movielist.item(i); if(m.getNodeType()==Node.ELEMENT_NODE){ Element movie = (Element) m; String movieID = movie.getAttribute("id"); NodeList mnamelist=movie.getChildNodes(); for(int j=0;j<movielist.getLength(); j++){ Node n = mnamelist.item(j); if(n.getNodeType()==Node.ELEMENT_NODE){ Element name = (Element) …

Member Avatar for JeffGrigg
0
331
Member Avatar for Rachy3091

Hi I'm new to this forum and to java, I have some work to do which requires that I have to write a program that reads in a list of whole numbers and that only even numbers in the range 1-100 are accepted and both 'N' and 'n' terminate the …

Member Avatar for stultuske
0
139
Member Avatar for larnacode

Hi there. Complete beginner on Java and OO principles. Having a little trouble in trying to figure out how to make objects move across the screen. Eventually, this will be a model of the solar system. So I have a planetObject class that represents a planet in the solar system: …

Member Avatar for larnacode
0
278
Member Avatar for kanakaraj.karre

Hi to everybody... Iam new to Webservices ..... Can anybody tell me two things ....... 1)What is the difference between the soap and rest webservices.. 2)Which one is more secure... Thanks in advance....

Member Avatar for JeffGrigg
0
67
Member Avatar for Benny_1

I'm new in java, so I'm not very good at it yet and my teacher has stumped me. We are supposed to make a bot for a game called snacktime, which is usually user controlled. # About Snacktime: # * There are a maximum of 16 snacks layed out randomly …

Member Avatar for Benny_1
0
276
Member Avatar for thegreymatter

Hi recently while trying to solve a core Java algorithm question I got trapped into a problem. Let me explain the puzzle. > There is a series of numbers. where difference between any consecutive > numbers is either a or b. The 1st number of the series is 0. Our …

Member Avatar for JeffGrigg
1
1K
Member Avatar for salesforce

Hi, My name is Micky. I have requirement, but i don't know how to start it, could anyone help me out. here is the requirement. In a class there are 10 Students with name , marks , Percentage and there rank should be in the below format Name Marks Percentage …

Member Avatar for JamesCherrill
0
291
Member Avatar for astrid.deliz

Hey guys im completely new to programming and im complete stuck and any help to comlete my assingment would be greatly appreciated. heres my assingment. Your task for this assignment is to define multiple classes via inheritance. Your classes should implement various "snacks" including "M&Ms", "Popcorn", etc. To begin, create …

Member Avatar for JamesCherrill
0
1K
Member Avatar for moaz.amin.37

import java.io.*; class WriteFile { public static void main(String ss[]) { try { FileWriter fw=new FileWriter("output.txt"); PrintWriter pw=new PrintWriter(fw); String s1="Hello World"; String s2="I Am Learning Java"; pw.println(s1); pw.println(s2); pw.flush(); pw.close(); fw.close(); } catch(IOException e) { System.out.println(e); } } } in upper code println() is called with object of `PrintWriter` …

Member Avatar for moaz.amin.37
0
194
Member Avatar for moaz.amin.37

exception is a run time error,then why exceptions are again classified into compile time exception and run time exception,in that case it should be run time exceptions only.please give explanation with suitable real time example

Member Avatar for moaz.amin.37
-1
328
Member Avatar for moaz.amin.37

i am confuse about `paint()` method in applet .The confusion is that paint method is getting object as parameter of Graphics class like this `public void paint(Graphics g)` and i read that the Graphics class is an abstract class then how we create object of Graphics class and now you …

Member Avatar for JamesCherrill
0
373
Member Avatar for abeer araji

thanks all for help im new in the website and i dont even know how to use it well im not a cheater or any thing else and i will not copy past any thing !! Im here just to learn

Member Avatar for JeffGrigg
0
122
Member Avatar for abeer araji

1. Write a program that asks the user to enter five integers and then adds and outputs the sum of odd integers, and adds and outputs the sum of even integers. For example, if the user enters the integers 7, 4, 2, 1, and 3 then the program should output …

Member Avatar for stultuske
-1
173
Member Avatar for mgold

I love the idea of dependency injection. I started doing psuedo dependency injection on my own before I knew about DI because I was frustrated programming without it. I then discovered Guice. From a program design point of view, I like it a lot. Everything is much more decoupled and …

Member Avatar for JeffGrigg
1
279
Member Avatar for prakash2813

There is a String object called detailMessage in java.lang.Throwable class, which says the reason of any exception thrown in java code. This object is initialized through a constructor using super(string message) statement or setter or whatever from subclasses like Exception and again from its subclasses like SQLException. When SQLException is …

Member Avatar for JeffGrigg
0
190
Member Avatar for Mrewan79

Hi everyone, I'm a computer science student and I want to make a hexagonal grid or map for use as a sort of board for making basic games and so forth. I have found some similar projects in C# and am trying to figure out how to create a 'board' …

Member Avatar for jwenting
0
467
Member Avatar for moaz.amin.37

It is commanly said that java is architectural neutral what is the basic concept of this.I want brief answer on it and some examples of this.

Member Avatar for jwenting
0
426
Member Avatar for dansmith1234

Can someone help me with implementing the deathbycaptcha API into Denodo? Thanks

Member Avatar for JamesCherrill
-3
249
Member Avatar for laguardian

Hey guys! I'm writing this really long code for practice. Got really rusty with Java so I gotta get brain working again. Anyway, the first part of the code asks the user for the number of employees; the for loop then keeps asking the user to input employee names depending …

Member Avatar for Doogledude123
0
277
Member Avatar for Stefce

Hello i have a little problem with writing the words in the database, after some space between the words the database can't remember it, thats why because the link eg. ( /some_file.php?search=something%20wierd ) that "%20" its the space between the words but from my mobile application when ill type space …

Member Avatar for JamesCherrill
0
278
Member Avatar for HiHe
Member Avatar for <M/>

Is this correct? I wrote a decimal format and it doesn't work. how do i correct this: return sum / myFormatter.format(Math.sqrt(x.length - 1)); I will submit the full code if needed.

Member Avatar for dev90
0
161
Member Avatar for Benjamin_4

i want to convert the value of my date into an integer value, i am using a jDateChooser in netbeans(swings) currently in my code below the value for inputDate is fixed or assingned but i want it to be based on the date a user picks using the jDateChooser. public …

Member Avatar for stultuske
0
24K
Member Avatar for Mr.M

Hi Dw This is my second time asking this question but now I will just make it straight forward because I didn't get any response from my other question. I want to know how can I write a program or a script in java that will be burnt/embedded to a …

Member Avatar for JeffGrigg
0
134
Member Avatar for anestistsoukalis

So this is what i dit. Declared three classes: Main Term Polynom So in Polynom i try to call a "plus" method: i tried this: public Polynom add(Polynom pol){ Polynom res = new Polynom("",0); Term tox = new Term(0,0); for(Term p : Polynom){ for(Term other : pol.Polynom ){ if(p.getDeg()==other.getDeg()){ tox.setCoef(p.getCoef()+ …

Member Avatar for JeffGrigg
0
252
Member Avatar for ynnor

Can any body explain to me where i can get resources,learning materials to undertake this project or what i need to know?

Member Avatar for JeffGrigg
0
88
Member Avatar for woomar

Hi. I need help with my size method. I am using a single-linked list. I tested my code and it returns 0 all the time. /** This method returns the size of the current list. <br> * If the current list has no elements,it is empty. <br> * * @return …

Member Avatar for JamesCherrill
0
255