35,618 Topics

Member Avatar for
Member Avatar for Hanyouslayer

First, I want to thank you for helping if you did, if not, thanks for checking it anyway. Second, I have been working on this for awhile, but I only am getting baby steps towards my goal. I get this far and I get compile correctly, but when I run …

Member Avatar for Dougnukem
1
173
Member Avatar for priya ravi

sir, i have got to present a seminar on java the topic being java and virus , my sir has asked me to create a program using java for virus can u please help me. i am a second year student for bachelor if computer applications. your faithfully priya ravi

Member Avatar for javaAddict
0
46
Member Avatar for umasparow

how to convert jpeg color image to gray by using formula 0.3 * red + 0.6 * green + 0.1 *blue

Member Avatar for quuba
0
51
Member Avatar for hny_lyn

To begin, we were asked to make a TREE... It says that we should traverse the left subtree of the ROOT/NODE in postorder and then make a copy of it... Next is to traverse the right subtree of the ROOT/NODE in postorder and then make a copy of it... Lastly, …

Member Avatar for quuba
0
530
Member Avatar for dskanth

Iam using JXTaskPane, and added few taskpanes, to a taskpanecontainer, and inturn added it to a panel. I want to apply action listeners to the taskpane selected. But i see that there is no methos like getSelectedComponent for a taskpane, which exists for a tabbed pane. How i can achieve …

Member Avatar for dskanth
0
70
Member Avatar for deepak.marur

Hi all, I've a curious problem with jni invocation. The explanation follows.. I have two pieces of code...a test stub, which is basically a stand alone java program and another the same code integrated into a component (the main function replaced by a static function). The code makes a jni …

0
85
Member Avatar for nazd28

Hi i hve used the syntax provided by ul in order to del multiple rows using checkboxes but for some reason the code shows we an error wen i give the value of the checkbox as one of my feilds so that i cud del the rec on that bases. …

0
78
Member Avatar for rajuchacha007

Hi all, I would like to know whether there any JAVA API exists which does copying, deleting or moving files from and to directories and which is platform independent. I mean consider 3 layers. Last one is of OS (windows, linux, unix, solaris). Middle one is of JAVA API and …

Member Avatar for nomemory
0
150
Member Avatar for packmule

Hi, I am just trying to figure out how to access some data. Currently it is stored in a spread sheet in the following form........ [CODE] 8/11/09 9/12/09 .... mm/dd/yy name score score .... score name2 score score .... score [/CODE] there will be many names (and more may be …

Member Avatar for VernonDozier
0
123
Member Avatar for leverin4

I'm running into an issue with a program. I need a method that takes a string and returns every possible combination of upper and lower case letters for that string. For instance, cat would return: cat caT cAt cAT Cat CaT CAt CAT The string entered could be any length …

Member Avatar for nomemory
0
795
Member Avatar for timon_zed

Hello good citizens, Am trying to implement a simple web based shopping system, however I want to find out if there is a way in which i can reduce the quantity of goods in stock after customer buys just by using servlets without me having to go to the database …

Member Avatar for timon_zed
0
465
Member Avatar for TryingToDo

1. I have a simple application, which uses a html table to represent the data retrieved from the database. How can I add to each row from the Html Table, a submit button. The button can be something like delete or modify the dates from that specific row, so I …

Member Avatar for TryingToDo
0
126
Member Avatar for gk0110

Hi all, I need to apply the pagination concept in my jsp page. The result set which is used to serve the jsp page is obtained through a dynamic query. Is it possible to apply the pagination concept in this case.. Please advice me .. Is it possible to do …

Member Avatar for ~s.o.s~
0
269
Member Avatar for Fibinacci85

hi thanks for your help in advance, I'm Realy new java in particular to netbeans I'm currently a 2nd year degree student and one of my subjects is Data Structures and Algorithms in java. My assignment requires me to right a program that reads in a file and out puts …

Member Avatar for verruckt24
0
114
Member Avatar for Bloubul

I need help once again. I am new in this course and are still battleling with some of the work. I wrote a code for Displaying Stock Information, however it's giving me a error. Please help? /* Chapter 8: Programming Assignment 9 Programmer: T. du Preez Date: September 20, 2009 …

Member Avatar for VernonDozier
0
166
Member Avatar for Freddie_M

I need help for writing a program that shows a given graph is dag or not ?I want a complete guide about topological sorting code. I found a code in internet but it has a lot of errors. please help me friends. thank you

Member Avatar for ~s.o.s~
0
21
Member Avatar for Elektro
Member Avatar for zinjnhell
Member Avatar for IdolOfIdle

here is my code. it connects to the server successfully.But connect.getContentLength() returns -1; and downloaded file contains zero bytes. any suggestion will be deeply appreciated. [code] try { // Open connection to URL. HttpURLConnection connection = (HttpURLConnection) url.openConnection(); // Specify what portion of file to download. connection.setRequestProperty("Range", "bytes=" + downloaded …

0
45
Member Avatar for timon_zed

Hi there, I have a servlet which is meant to retrieve data from the database by compairing the number entered via a web form. The trouble is that, it only gives me the last record in the database and not any other record. I have 5 records in the database …

Member Avatar for timon_zed
0
142
Member Avatar for pvt_geeker

Hello, JAVA community. I am currently working on developing a system (Hotel Reservation System) as academic work. I am using Netbean IDE 6.7 and MySQL or MS SQL as development tools. I am quite amateur with the use of Netbean, I also find that manual coding is very tedious. So, …

Member Avatar for Ezzaral
0
89
Member Avatar for jrosh

I want to transfer data from mysql database to an msexcel sheet... Is it possible with java. how?

Member Avatar for jrosh
0
120
Member Avatar for ceyesuma

Hello. I was studying the database connectivity tutorial . I set it up with the database in MySQL. However I tried to set it up using Netbeans6.7.1. just to see if I could get it to run. it's not working out. Can this be setup in netbeans? I have attached …

Member Avatar for ceyesuma
0
238
Member Avatar for jmodeveloper

I am using jBoss server . when we are giving print from the client it does it print in client but its get print in the server.. i don't know how to redirect it...so help me... this is the piece of code:: PrintRequestAttributeSet printRequestAttributeSet = new HashPrintRequestAttributeSet(); printRequestAttributeSet.add(OrientationRequested.PORTRAIT); printRequestAttributeSet.add(MediaSizeName.ISO_A4); PrintServiceAttributeSet …

Member Avatar for ~s.o.s~
0
102
Member Avatar for AjithAnnadurai

Hi friends anyone knows how to convert SIS to JAR file format . please tell me the link for that software . please reply

Member Avatar for David Boon
0
538
Member Avatar for sachin.h

Hello eyeryone, I am wrking on a project which deals with building avionic GUI like metres,gauges etc.. i was not able to create the exact look and feel using the java swing standard libraries, please tell me any other alternative for creating such GUIs like[B] activex[/B] and wheather i can …

Member Avatar for David Boon
0
159
Member Avatar for faithingod1970

I am trying to create an inventory GUI display for scool. I have this GUI class as part of a 4 class program. For some reason I thought that the last lines created buttons yet this program lacks them. I also hav problems having my main call the GUI to …

Member Avatar for JamesCherrill
0
101
Member Avatar for sawant_nitesh

There are many[COLOR="red"] [I]Java Decompilers[/I][/COLOR] which can decomile [COLOR="Red"][B][I].class[/I][/B][/COLOR] file to [COLOR="red"][B][I].java[/I][/B][/COLOR] file revealing the source. Is there any way to prevent this reverse engineering ? Like in .Net framework, once .dll or .exe is built, noone can reach to source code. ?:S

Member Avatar for verruckt24
0
122
Member Avatar for javanub123
Member Avatar for javanub123

i started learnin Java last weekend and its my first programming language ever. ive learned most of the basic stuff (if/else, loops, etc.) and was just wondering what to do next?

Member Avatar for Ezzaral
0
51

The End.