32,199 Topics

Member Avatar for
Member Avatar for Adami

I need to write a method which check for every junction in a tree if he is a multiply of his sons. The method signature must be as following: public static boolean isChildrenProduct (Node node) For example: if the father is 10 and the sons are 5,2 returns true. Can …

0
72
Member Avatar for saygham

Please i am new in java and i need some help about how i can make appointment calendar as a java application by using java thanks

Member Avatar for peter_budo
0
2K
Member Avatar for shil_284

Hi, Could anybody help me in this particular error.. Exception in thread "AWT-EventQueue-2" java.lang.NoClassDefFoundError: com/../../ Basically, I am loading up the applet on HTML page, which includes all the jars required. But it still gives me the above error. The jar which has the com package is also signed. Thanking …

0
48
Member Avatar for Derice

HI, i am new in VB. I would like to know whether VB have API like Java? Where i can search through API/documents to know the function of any built-in function or is there any website that provide information for all the build in VB functions? It is possible to …

Member Avatar for Jx_Man
0
104
Member Avatar for darkagn

Hi all, I was wondering if anyone had tried to use the Quicktime for Java platform to stream video in either MPEG-4 or MJPG formats? Can the platform be used in linux if it uses the third-party Quicktime for Linux? Or is there another platform that might be suitable for …

0
67
Member Avatar for marketingyard

Hi All, I need help ASAP to read a csv file & populate a String Multidimensional Array. The csv file is a table of x number of rows each containing 3 columns of data to be read as strings. It will then enable me to print out this data into …

Member Avatar for peter_budo
0
108
Member Avatar for KimJack

Hello All, I am trying to double the size of an array and copy its contents to the new array. I keep getting the following errors with the following code snippet: '.class' expected not a statement Here is my code: private void cpyArray() { if(itemCount == item.length) Doll [] temp …

Member Avatar for bugmenot
0
2K
Member Avatar for ad_ms

hi people im hemamalin doing ma 4th yr in software field.. i hve gotta mini project and im wrking upon it. its dat im using java eclipse as ma software and i would like to hve basic pdf documents so dat i can learn from it, it would be kind …

Member Avatar for cjturner
0
160
Member Avatar for musaka

So i have an UML diagram from wich i must define my code for my Customer class , and the start of the diagram attributes is with that -accounts : Account = new Account() , so i typed for it : private Account = new Account() accounts; and then i …

Member Avatar for javaAddict
0
107
Member Avatar for arkaprava

[B]I want to build a software of data modelling like [URL="http://www.dds-lite.com/"]dds lite[/URL] The 1st thing I wanna do in dis case is to make a erd editor using java , please give me some idea about the java packages and classes should be used.. please provide some tutorial about this …

Member Avatar for jwenting
0
94
Member Avatar for nagajyothi

hi friends! i have created a button on my applet. the button name is "PRINT". i wan the code for this button ,such that the print out of the information given as input to the applet must be printed. is there any command in java to directly get printed from …

Member Avatar for darkagn
0
96
Member Avatar for dharajsmith

I have a Java assignment due tonight, and I wrote this, but it will not compile. Can someone help me see what I'm doing wrong? Thanks! My assignment is: "Modify the Payroll Program application so it continues to request employee information until the user enters stop as the employee name. …

Member Avatar for dharajsmith
0
87
Member Avatar for karan_736

i have a small application which checks for username and password in the database and forwards the users to restricted pages on confirmation. i ve uploaded the application on eatj.com for testing, now my problem is that the session creation code is not working in [B]Internet Explorer[/B].means every time i …

Member Avatar for karan_736
0
67
Member Avatar for vanduea

Hiii.... i'm final year engineering student(cse).... i've to do one main project in java/j2ee/j2me...... pls suggest any good n latest topics..... thanx.....

Member Avatar for jwenting
0
116
Member Avatar for Acidburn

Hey guys, gonna try and explain this in an hopefully understandable way. I've got my GUI which is called a GUI class which is a singleton so I can access it anywhere in my code and manipulate the GUI object. I've also got a sharedMemorySection which again is a singleton …

Member Avatar for Ezzaral
0
80
Member Avatar for wonder_laptop

Dear All, Since one cannot write the ping command in java because real ping requires ICMP support, and performs a very basic test that there is an IP protocol stake "awake" at the requested address and this is not supported by java. this code is not a "ping" in the …

Member Avatar for wonder_laptop
0
186
Member Avatar for shil_284

Hi, I am trying to compile a code( which was written and compiled in 1.4) in 1.6. It gives few errors, when i compile in 1.6 for eg: compareTo(java.lang.String) in java.lang.String cannot be applied to (java.lang.Object) if (NatureOfAddress_SidNumber_str.compareTo(vTemp2.elementAt(iLoop)) < 0) Is there anyway i can suppress the warnings so that …

Member Avatar for jwenting
0
90
Member Avatar for 14fg

Hi, I need help with a timetable which must do the following: 1: Input: program name Output: list of core and option modules. 2: Input: module name Output: module leader, activities, credits, when run, constraints 3: Input: activity name Output: room(s) 4: Input room number Output size, condition, available resources …

Member Avatar for Ezzaral
0
122
Member Avatar for Acidburn

Hey guys, I'm lost in terms of how to get 1 thread to stop another thread by changing one of its values. Ie say I've got a JButton which when pressed invokes thread 1. I've also got another JButton which when pressed stops thread 1 from processing. I'm lost since …

Member Avatar for Ezzaral
0
79
Member Avatar for hemanthjava

I've read plenty of java Swing forums or questions and none of them have the right answers. I am trying to dynamically select a node in a JTree by searching for it using a search panel based on its property. My jtree allows single selection model. (SINGLE_TREE_SELECTION). [CODE]jTree.setExpandsSelectedPaths(true); // jTree.expandPath(treePath); …

Member Avatar for hemanthjava
0
114
Member Avatar for sivaslieko++

Hi everybody, I have a class called "dynamicArray" which makes use of static array and provides addElement, deleteElement methods, etc. It stores the datatype, "myObject". I want to construct the JList with the instance of dynamicArray class, say myDynamicObj. so that whenever when I delete/add element from/to dynamicArray the JList …

Member Avatar for Ezzaral
0
198
Member Avatar for Spartan552

[QUOTE] ArrayList<ArrayList> liste = new ArrayList<ArrayList>();[/QUOTE] eclipse saying : [QUOTE]ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized[/QUOTE] The list should be containing some strings and some integers. So what I should write is ArrayList<ArrayList<MyClass>> to get rid off the warning. The problem is I dont …

Member Avatar for Ezzaral
0
361
Member Avatar for nljavaingineur

Hello developers, Im still practising my programming with coding a calculator after some reading on the basics of Java. Could really use a pointer or two here. I wrote a calculate function(calculateResult). The error message I got says that the function cannot be applied on the 'number2' argument. (on line …

Member Avatar for Ezzaral
0
99
Member Avatar for jamello

hi there guys! I have a scenario that is presently giving me sleepless nights. I need to call an asp method from an "onclick" html event but the method is being called too early. [CODE] Public Sub CheckForSomeErrors() If Session("FliteDate") = "" Then Response.Redirect("../Errorpage.aspx?ErrorDetails='Flight Date' cannot be blank!! Click 'Previous' …

Member Avatar for jamello
0
151
Member Avatar for reiyn17

Write a java program that uses inheritance to extend box. Use the extend keyword to include weight. // use the super keyword to access the variables //of the parent class, remember that only weight(m) //was declared in this class but the other three //were declared in the parent class so …

Member Avatar for lovely12
0
233
Member Avatar for nar12281

Hi All, from my form bean when i am giving input as a german character, from the method request.getParameter(), it's converting it into some other data, can you people help me what should i do.

Member Avatar for PoovenM
0
62
Member Avatar for WHTZ

I have a test soon and are having troubles with the following questions.. 6) A local variable is a: (A) variable declared in a field (B) public statement of a variable in a method (C) private statement of a variable (D) variable declared and used within a single method 9) …

Member Avatar for PoovenM
0
95
Member Avatar for Spartan552

[QUOTE] ArrayList<ArrayList> bigList = new ArrayList<ArrayList>(); ArrayList liste = new ArrayList();[/QUOTE] [QUOTE]for(i=0 ; i<10 ; i++){ liste.add(0,i); bigList.add(0, liste); liste.clear( ); }[/QUOTE] What I want to get is something like [ [9] [8]...[0] ]. Instead of that I'm getting [ [ ] [ ]...[ ] ], an ArrayList of empty …

Member Avatar for Spartan552
0
114
Member Avatar for Spartan552

Hi, I want to use an ArrayList of long but [QUOTE]ArrayList<long>liste = new ArrayList<long>();[/QUOTE] doesnt work. Eclipse changes it to [QUOTE]ArrayList<long[]>liste = new ArrayList<long[]>();[/QUOTE]. What to do? I really need an arraylist of long values. Thanks.

Member Avatar for Spartan552
0
137
Member Avatar for eleonora

hey and happy new year! i cant understand whats the difference between x++ and ++x if anyone knows let me know :) thanks in advance !

Member Avatar for ShawnCplus
0
178

The End.