458 Posted Topics

Member Avatar for shimbardy

You need to split the input in two parts - the first two digits and the last two. The first two digits become your our part and the last two digits become you minute part. Once you have done this, run your validations on both the hour parts for them …

Member Avatar for stephen84s
0
291
Member Avatar for ITlang007

Yes I am sure many people around here know how to write those methods, but we won't just give them to you for free, at the most we can offer you a pseudocode for these, but then since these sorting techniques are quite popular you can find an algorithm for …

Member Avatar for ITlang007
0
62
Member Avatar for puneetkay

Hi Puneet, I haven't gone through your ORM framework, I need sometime for that, but on first thoughts I would like to suggest you another very popular ORM framework - [URL="http://www.hibernate.org/344.html"]Hibernate[/URL] - which you might have heard of. This is a project similar to what you have started. Since you …

Member Avatar for puneetkay
0
173
Member Avatar for britto

You need to use a JTextArea for this, you can specify the no. of rows and columns for the JTextArea by using the methods [icode]setRows()[/icode] and [icode]setColumns()[/icode]. When you set the JTextArea's rows and columns to more than the width and height assigned for the JTextArea horizontal and vertical scroll …

Member Avatar for britto
0
590
Member Avatar for deola_lanre

C'mon now stultuske don't be lazy, it doesn't mean that just because we are not paid for this help and we have our work to look after you cannot find time to help other people. I will give you your class too [code=java] public class AssignmentNotDoneByMe{ public static void main(String …

Member Avatar for PhiberOptik
0
221
Member Avatar for GrimJack
Member Avatar for verruckt24
0
35
Member Avatar for Aakash09

[QUOTE=Monalisaparker;784778]can you be more specific, about which language you are talking about as the word "language" is broad[/QUOTE] I guess she wants it to be broad. She doesn't want her question to be specific for any langauge.

Member Avatar for Narue
0
109
Member Avatar for Blackeagle

To detail on this, in Unix-based systems, all the open file handles are stored in an array internal to the system. The file descriptor so returned is the index of the array position where the file handle is stored.

Member Avatar for verruckt24
0
114
Member Avatar for bhowal_1981

[icode]waitFor[/icode] returns an exitValue in int. If this value is zero it specifies normal termination. Any other value specifies an abnormal termination, so this means that the process is running to completion, but not with desired results. Since you are claiming to renam files over here, just whether you have …

Member Avatar for verruckt24
0
114
Member Avatar for navinlearns

I haven't gone through the entire program of yours, no need to even, since there is much of repeatition. But what I have gathered from a quick look is that you need to avoid making all those classes. You are doing the same thing in all of them. Why not …

Member Avatar for masijade
0
177
Member Avatar for ezkonekgal

When putting an item inside the queue why do you want to show the queue. Or is it some assignment requirement that on every addition of element to the queue you need to show the queue structure ? If yes, then write some method that traverses the entire queue and …

Member Avatar for ezkonekgal
0
139
Member Avatar for l_03

Do you have something personal against the code tags that after our repeated attempts to get you start using them, you still don't. As far as the programs goes, my comments could be copy-pasted from those of javaAddict.

Member Avatar for verruckt24
0
110
Member Avatar for Coyboss

[QUOTE=Coyboss;782169]I dont want to be rude either [B]but[/B] I OBVIOUSLY DON"T KNOW WHERE IT NEEDS TO GO!!!!! So can we CLUE me in as to where I need to put it? Or do I need to keep guessing? I have been working on it for over 2 hours and tried …

Member Avatar for Coyboss
0
274
Member Avatar for RohitSahni

I checked ActivePerl, it promises to make things easy for you, but should you allow them to ? Think about it, if you are going to put yourself a habit of being spoon fed, I believe you are not going to go too far. Rather install the perl interpreter on …

Member Avatar for verruckt24
0
163
Member Avatar for jjaunich

Adding to what peter_budo has said, I would like to suggest you to refer the [URL="http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html"]Java Code Conventions[/URL] document. Any beginner needs this, in your case since I do not see any indentations in your code which can make the code unreadable, I site this to you. Also I see …

Member Avatar for verruckt24
0
152
Member Avatar for zaraeleus

Use [URL="http://www.daniweb.com/forums/misc.php?do=explaincode&TB_iframe=true&height=400&width=680"]code tags[/URL] for posting your code, it just make the code more readable. Some of the errors that I see here are : 1. You haven't declared what [icode]scan[/icode] is. I guess you are supposed to use [icode]input[/icode] here but you have used [icode]scan[/icode]. [code=java] public static double calcFV(double …

Member Avatar for zaraeleus
0
689
Member Avatar for dalbirsingh

[QUOTE=dalbirsingh;780476]Give me the complete code for this. [/QUOTE] Yeah and you give us a billiion dollars for that. Only the forum rules are stopping me from telling what reply you should be getting for that. Have you taken care to read the forum rules before making any such nonsense requests …

Member Avatar for ~s.o.s~
0
170
Member Avatar for ezkonekgal

[QUOTE=SamCris;777009]kung pwde k mgbisaya ok lng, pasabta lng ko sa T[] ug OldT[] ug nganong k2ng sa Fig 1.13 (page 35) sa JEDI course notes dili masabtan :([/QUOTE] Did you just swallow an ostrich size fly ?

Member Avatar for ezkonekgal
0
233
Member Avatar for kinjal1717u

I remember you starting another [URL="http://www.daniweb.com/forums/thread167207.html"]thread[/URL] with the same topic, just a few days back. There too you were asking for help on such a broad topic that even someone who honestly wants to help you won't know where to start from. Is there any obstacle that stops you from …

Member Avatar for verruckt24
0
81
Member Avatar for l_03

Since two of the forum's senior guys have already posted onto this (one a mod and the other a featured poster) there's no need for me to do this but since I feel that one point escaped both of theirs attention I would like to comment on that. Did I …

Member Avatar for verruckt24
0
143
Member Avatar for mukesh.dagar

When you say you have working knowledge of Java I assume you have written enough programs in the langauge. Since you say you are not able to make the next step, picture it this way, a project is nothing but an extension of programs, it is essentially a collection of …

Member Avatar for verruckt24
1
108
Member Avatar for neeraj_jaggimca

@neeraj Do you take some pains to read about the forum where you post or you just start shooting ? If you would have cared to look around the forum you would have found that there was a forum for JSP too. Also there is an announcement encouraging the use …

Member Avatar for verruckt24
-1
98
Member Avatar for bulger2503

I would like to site you the same documentation again. You can create a [icode]ByteBuffer[/icode] but there are other methods than the regular constructor to create them. Going through the docs once again, albeit more carefully would sort this out for you.

Member Avatar for ~s.o.s~
0
251
Member Avatar for paucki

I did not understand the point of your earlier post nor am I able to understand it now. Your earlier post was sort of making ground for future questions that you might have, sort of preparing us for the questions you might throw at us. But I suppose there was …

Member Avatar for stultuske
0
140
Member Avatar for tulsi_apr03

Duplicates meaning, the entire name should be identical or just any of the first name, last name etc ? Check "select firstname, count(first name) from tablename having count(firstname) > 1" something like this.

Member Avatar for PoovenM
0
149
Member Avatar for reeshtea

Knowing here the purpose for such a random number would be important before advising you of anything. Also Java has a UUID Class that generates Universally Unique Identifiers. This class has methods to generate four different types of UUIDs one of which is to generate a pseudo random number, go …

Member Avatar for verruckt24
0
81
Member Avatar for dawnzz21

Firstly you did not mention any topic apart from Java GUI, which is far too generic to be a topic at all, secondly if you are voluntarily competing in the camp don't ask us to submit code for you. Do it on your own and show it to us and …

Member Avatar for stultuske
-1
103
Member Avatar for trailmaxusa

No I don't think so. Since your application connects the database server it would need the database server running, whenever it's invoked on the client machine. This won't be true in your case since you run the server inside your NetBeans IDE.

Member Avatar for verruckt24
0
112
Member Avatar for l_03

[QUOTE=l_03;774868]hello...i am confused,,it is possible that a linkedstack will be full??i only implement a method that isEmpty(),,and it reads the method if the stack is empty..but if the stack is full, it do not even read the method i made....would someone help me?/,,,thank you ahead...[/QUOTE] If you know what a …

Member Avatar for ~s.o.s~
0
128
Member Avatar for kinjal1717u
Member Avatar for brunope

While specifying the foreign key constraint you have specified "ON UPDATE NO ACTION" while this seems to mean that no action would be taken on update, it specifically means that you will not be allowed to update too, either remove the clause or if it is binding for you to …

Member Avatar for verruckt24
0
1K
Member Avatar for ankur_maniya

god almighty, has your keyboard lost all the letter inscribings on it or what ? Anyways, go look for some project ideas youself.

Member Avatar for verruckt24
0
86
Member Avatar for abhishek.reddy

Half of the world already knows it, so whats the point announcing it, especially here which is a forum to ask questions and not some web notice board.

Member Avatar for verruckt24
-1
89
Member Avatar for Alishaikh
Member Avatar for Modo

A DBMS in Java ? Bravo !!! [URL="http://www.daniweb.com/forums/thread99132.html"]This[/URL] thread will offer you a whole lot of information about starting java. But to write your own DBMS in a langauge I guess you will have to look far beyond a particular "link" or site. This will need in-depth knowledge and understanding …

Member Avatar for Ezzaral
0
127
Member Avatar for viron

In Java there are [URL="http://java.sun.com/docs/books/tutorial/java/javaOO/classes.html"]Classes[/URL], [URL="http://java.sun.com/docs/books/tutorial/java/IandI/abstract.html"]Abstract Classes[/URL] and Interfaces. Classes and Abstract Classes can be [B]inherited[/B], but a Class [B]cannot[/B] inherit from more than one Class or Abstract class. Abstract Classes cannot be instantiated, though as mentioned above they can be subclassed. Interfaces on the other hand are [B]implemented[/B], a …

Member Avatar for verruckt24
0
111
Member Avatar for ezkonekgal

No, you did not, from the code you have written you are just implementing a single stack. Also to confess I too have not understood what your assignment is : "to implement multiple stack with a single dimensional vector". Details would be required for further thought. BTW : Linked List …

Member Avatar for ezkonekgal
0
310
Member Avatar for jeffreyjs

1. I don't see anything wrong with the query code here. 2. If you want to send the data for just two variables mention just those variables in the insert into clause for e.g. if you want to insert just date and time write the query as follows : INSERT …

Member Avatar for peter_budo
0
312
Member Avatar for hira ahmad

Show us some effort from your side first, how would you go about implementing such a project we would like to know that first. Then you could maybe ask us specific questions than "Please send me some algorithm", and we would be glad to help you.

Member Avatar for hira ahmad
0
140
Member Avatar for vinayakshukre

This code works for MS-SQL, but you are using Oracle and since the SQL Syntax can be vendor specific you will have to check. [code=java] // Here this code shows two parameters being passed to the sp // Here con = connection,proc = CallableStatement proc = con.prepareCall("{call sp_SPNAME (?,?) }"); …

Member Avatar for vinayakshukre
0
948
Member Avatar for srs_grp

If you have an array of [icode]Byte()[/icode] class, then the class itself has an [icode]intValue()[/icode] method that returns the value of this Byte as an int. Read the javadocs for the [URL="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Byte.html"]Byte[/URL] class for more details.

Member Avatar for verruckt24
0
851
Member Avatar for Alishaikh

I think, though I am not 100% sure, that the problem is rooted in the [icode]if (objects[min].compareTo(objects[scan]))[/icode] statement over here. [icode]compareTo()[/icode] returns either 1,0,-1 depending on whether the calling object is greater than, equal to or less than the object passed as a parameter. According to the above statement you …

Member Avatar for verruckt24
0
168
Member Avatar for bhob

1. Use code tags to post code. 2. Instead of asking of us whether your code is ok or not you can check it yourself, if it does what it is intended to do you know what it is, whether it doesn't you still know what it is. Why do …

Member Avatar for verruckt24
0
194
Member Avatar for nymph

Yes you can accept a string as an input and then convert this string to a [icode]File[/icode] type. There is a contructor in the File that allows this. [code=java] public class DeleteFile{ public static void main(String [] args){ // Pass the first argument which is a filename to the constructor. …

Member Avatar for stultuske
0
90
Member Avatar for izaty

how about a project to convert not so good written language to a very good one (that corrects grammar as well and adds if there is none) ;-)

Member Avatar for verruckt24
0
63
Member Avatar for shankmuchlove

you ask for challenging projects when you are not even ready to accept the challenge of brewing an idea in your head for the same. Tell me frankly, is it so difficult ?

Member Avatar for verruckt24
0
76
Member Avatar for Narayanan87

I agree with jasimp, but I guess if your requirement is just to monitor network traffic or protocol analysis, there is already a product that does that for you. [URL="http://www.wireshark.org/"]Wireshark[/URL] is a s/w that is used for network protocol analysis. Check if thats what you want.

Member Avatar for verruckt24
0
139
Member Avatar for Thamizh Bharat

To launch a java application at startup in linux you can specify the command for starting the application in [icode]/etc/rc.local[/icode] file. If you do not have the [icode]/etc[/icode] or the [icode]rc.local[/icode] file already you can create one before and then paste your command into it. An intro to what is …

Member Avatar for PhiberOptik
0
126
Member Avatar for solarwarrior

BTW what is steganography ? It might help you detailing that. Also google for the algorithm, I am sure you would get enough information there.

Member Avatar for solarwarrior
0
92
Member Avatar for andrepezzo

Before moving further I would like to clear certain details. Since the static field would be common across multiple instances of a class, what if two different instances were initialized through diffrent constructors, in that case your serialization/deserialization would always depend on the last instance created. Would this be proper …

Member Avatar for ~s.o.s~
0
1K

The End.