32,199 Topics

Member Avatar for
Member Avatar for kos88

[code] class Register { public static void main(String[] args) { Personer pr = new Personer(); pr.settInnPerson("mrt","Kasra"); pr.settInnPerson("avinnogg","Anders"); pr.settInnPerson("omelgsto","Oyvind"); pr.settInnPerson("joakibj","Joakim"); pr.settInnPerson("richar","Richard"); pr.settInnPerson("linnaad","Linn Kristin"); pr.settInnPerson("hennikar","Henni"); pr.settInnPerson("haavarte","Havard"); pr.settInnPerson("rubendw","Ruben"); pr.settInnPerson("dingh","Ding"); pr.settInnPerson("nikitam","Nikita"); pr.settInnPerson("huyt","Huy Quang"); pr.settInnPerson("chunyuyc","Chun-Yu"); pr.settInnPerson("kabeern","Kabeer"); pr.taUttPerson("kabeern","Kabeer"); pr.taUttPerson("chunyuyc","Chun-Yu"); pr.print(); System.out.println("------------------------------"); Person skalFaVenn = pr.finnPerson("dingh","Ding"); skalFaVenn.leggTilVenn("rubendw","Ruben"); skalFaVenn.leggTilVenn("hennikar","Henni"); skalFaVenn.leggTilVenn("mrt","Kasra"); skalFaVenn.leggTilVenn("avinnogg","Anders"); skalFaVenn.fjernVenn("hennikar","Henni"); Person vn = new Person("dingh","Ding"); vn.print2(); …

Member Avatar for Kabbelabb
0
183
Member Avatar for riyashm

Hai Please send me if any one have a j2ee online shopping project in full or part

Member Avatar for ithelp
0
55
Member Avatar for britto

im trying to compile a c program using java i have to invoke tinyc compiler from command line ......i need to run these commands in console using java... first set the directory to the location of c file then invoke "tcc filename" how can it be done??? thanks in advance

Member Avatar for britto
0
294
Member Avatar for Noliving

The purpose of a reach algorithm is to return the variable (or set of variables) that is defined by the given node. Correct?

Member Avatar for verruckt24
0
60
Member Avatar for gadisandeep

Hi,I want to assign a name to the nodes i created but I am unable to do this.Can anyone tell me how to do this.

Member Avatar for rohanbk
0
52
Member Avatar for devlin021

Hey all Iam new to programming, so please help me with my problem.... I want to take voice input into a Java program and save it in the form of string....?? Plesae help..

Member Avatar for devlin021
0
118
Member Avatar for dmanw100

I'm having a pretty weird logic error. It seems that this code is always ending my arrays with 3. It should (being a recursive function) iterate through 0, 1, 2, 3. My test array is of length 4 but I am completely missing the reason. Can anyone else see the …

Member Avatar for dmanw100
0
144
Member Avatar for Rashakil Fol

From [url]http://www.daniweb.com/forums/thread172120.html#post791196[/url] : [quote=Ezzaral]On a side note, never throw exceptions from main(). Use a try-catch block.[/quote] Why?

Member Avatar for ~s.o.s~
0
148
Member Avatar for kavithaGowda

Hi, I want to create a progress bar for folder copy using SWT. So i request you ppl to give some sample codes regarding d same. Thanks in advance.

Member Avatar for peter_budo
0
21
Member Avatar for PriyaFingent

the code is given below <script type="text/jscript"> // Check the length of the textbox //for new function Length_Phone1TextField_Validator() { if ((aspnetForm.ctl00_ProfilePlaceHolder_txtPhone1.value.length > 2)) { aspnetForm.ctl00_ProfilePlaceHolder_txtPhone2.focus(); return (false); } return (true); } <script> and in cs file its code like this `this.txtPhone1.Attributes.Add("onKeyup", "return Length_Phone1TextField_Validator()");` Its not working in firefox but in …

Member Avatar for cguan_77
0
70
Member Avatar for w32.sysfile

i have a jtextpane now, i want that some text on it become bold, and not all how can i possibly do this, for exmple, i want to bold all the word "cool" found in my textpane.. i know that i should use a DocumentListener(Do I need??) but i really …

Member Avatar for zawert
0
127
Member Avatar for AllenB

Hello, Is there a way to take a String, for instance "4 * 5" from a JTextField and convert it into an expression where I will get a result? Thank you.

Member Avatar for sciwizeh
0
137
Member Avatar for kateblossom

Hi I would like to create a crawler using java with mySQL as backend. It must work in such a way that it will crawl to a site and grab the data from that site. And then store that data in the database. So can anybody tell me a way …

Member Avatar for sciwizeh
0
508
Member Avatar for jdbarry

Can somebody help tell what they think is the matter with this code. It is supposed to be a random password generator. You will see what is the matter with when it runs. Thanks in advance [code] /** * This program generates random passwords based on the user selecting the …

Member Avatar for markhogg
0
121
Member Avatar for curtissumpter

Hi, I'm having trouble with using and updating graphics in a JFrame. I'll include my code below along with some classes. They're necessary for the program to work properly. The issue is that the paint method is painting over my UI. Then it won't display the graphics. I don't have …

Member Avatar for Ezzaral
0
990
Member Avatar for neighbordave

This code is supposed to find the nth short word For example, if you are passed an array containing the words "Mary", "had", "a", "little", "lamb" and you are asked to return the second word, you would return "a" Below is my attempt to solve this but im pretty confused …

Member Avatar for verruckt24
0
101
Member Avatar for zhane88

good day, I am in need of a hand ...i am building a Wire transfer software for remmitance into bank accounts but i am having some errors..i would like you to contact me in any case if you can be of assistance. my email is [email removed] Please do get …

Member Avatar for stultuske
0
73
Member Avatar for Legend003

Hi! I want to develope Data Dictionary in java just like Data Dictionary in C++; if some one already worked on it plz send this code for the sake of Knowledge..... thanks.......

Member Avatar for stultuske
0
81
Member Avatar for edadma

I'm learning Scala after having used Java for years. I'm wondering if anyone has found a good Scala programming software other than Eclipse and NetBeans, both of which have bugging Scala plugins? I know about the Jedit Scala plugin. It's even worse than Eclipse. And then there's this funny little …

Member Avatar for peter_budo
0
89
Member Avatar for BestJewSinceJC

After some research I found this link [url]http://splainhow.com/jogl_eclipse.html[/url] which explains how to set up a project in Eclipse to use OpenGL with it. But I want to integrate the OpenGL libraries for JOGL with Eclipse so that I can import and use them with any projects. Does that make sense? …

Member Avatar for stephen84s
0
98
Member Avatar for jhonnyboy

hey guys i would like to know how it's possible to run a java project outside of it's IDE. How can i get it running on a website? I also tried running it on my computer but...navigating to the project through cmd and using the "java project" command to run …

Member Avatar for verruckt24
1
473
Member Avatar for evilllllll

My hw is to create a strategy for this rock paper scissors game. this is my code for the game itself: import java.awt.*; import java.awt.event.*; import javax.swing.*; /** *The RPs applt plays Rock paper *scissor, lizard, Spock game and *keeps track of how many times *you won lost or tied …

Member Avatar for BestJewSinceJC
0
110
Member Avatar for mannyg

so i no ive read this stuff about hmwrk. but i have done a lot of work and dont want anyone to finish it for me i just need advice, im making a coffee machine and i have made a layout, but i dont no how to put in the …

Member Avatar for sillyboy
0
122
Member Avatar for sufi89

hi i am new to all this... right now i am stuck on generic linked lists i have to create a recursive method to add newnode at end i have this so far public static <T> void insert(Node<T> l, Node <T> newNode) { if (l == null) {l = newNode; …

Member Avatar for sufi89
0
107
Member Avatar for nikk

Hello Friends, I've to work with "Quicktime". But, I'm finding it quite difficult to find the resources which will help me in understanding the technology. Can you please suggest me any links which will help me in understanding Quicktime classes and methods, during my project building?

Member Avatar for quuba
0
242
Member Avatar for britto

hi everyone... im doing an ide for my project... i need to check for errors while typing and must underline them .... i need to do it for c,c++,java using java..... i have no idea about this .... can anyone please help me?????

Member Avatar for britto
0
82
Member Avatar for faisaly
Member Avatar for ckd327

Hi I am just beginning using Java and have two programs due tomorrow for class. Both programs are nearly complete however I keep getting similar errors on both. The first program's error is on the 22nd line starting "system.out." and says that a ) is expected. Here is what I …

Member Avatar for stephen84s
0
98
Member Avatar for robertmacedonia

Hello, I would like to ask is there any class connected with the Tree data structure in the Java Api, since I couldn't find one. I'm just starting to study the Binary Search Trees, the Heap data structure etc. As far as I could see until now, I will have …

Member Avatar for robertmacedonia
0
97
Member Avatar for ylenaj

What are the codes when you cancel a list of names in the database in a certain field? This is the situation: I made a reservation in a certain hotel. Of course they asked my name, what kind of room. . Automatically, it saved on the database of their system. …

Member Avatar for stephen84s
0
119

The End.