283 Posted Topics

Member Avatar for clouds_n_things
Member Avatar for needhelp88

I guess you should subtract 1 instead of adding one to the variables It should be x=x-1; and y=y-1; Now , even if user enters 2,25 . It will change to 1,24 . Now you will not see the arrayoutofbound exception

Member Avatar for needhelp88
0
256
Member Avatar for javaid iqbal

What do you mean by showing output??.. Do you mean printing the value on the console?. If so then add a System.out.println() statement.

Member Avatar for harinath_2007
-2
113
Member Avatar for uurcnyldrm
Member Avatar for hwoarang69

you can try this from int to string int a=3; String s=a+"": from int to char char c = (char)(((int)'0')+a); however here the value of 'a' should be a single digit number

Member Avatar for jalpesh_007
0
298
Member Avatar for harinath_2007

Hi folks. I am trying to learn J2EE and I am looking for a complete J2EE tutorials online. Plz suggest me some links where i can learn the J2EE completely(if not 100%, atleast 90%) . It will be pleasure if the tutorials are FREE as i cant afford to pay …

Member Avatar for harinath_2007
1
121
Member Avatar for nitin1
Member Avatar for harinath_2007

Hi, I am messed up with jscrollbar in my applcation.I have a jtextarea with jscrollpane in my application. Whenever the text in the textarea fills up completely , i want the scrollbar to scroll down. As soon as new text is added to the textarea , the scrollbar should move …

Member Avatar for harinath_2007
0
102
Member Avatar for JamesCherrill

I dont consider enabling java in browser as a good idea. Maybe they fixed this time, but who knows the same thing may repeat in future. Applets are outdated according to me. Why install java plugin IN YOUR BROWSER?. PS: #personalOpinion

Member Avatar for harinath_2007
3
177
Member Avatar for harinath_2007

I was working on a project on netbeans and came across a problem with netbeans. The netbeans was showing the error repeatedly as "duplicate class". eventhough there is no duplicate class in the project. After so much frustation , i realized that this is netbeans bug. After doing some search …

0
244
Member Avatar for harinath_2007

HI, Looking for a solution to add my jar file to windows startup folder programatically by itself. Batch scripting may do the task but i dont want to use the batch. The jar itself should be added to windows startup folder programatically when it is clicked for the first time.

Member Avatar for herby_tech
0
128
Member Avatar for sopheapit168
Member Avatar for kingsonprisonic

One small clarification . Do you want to play the video simultanerously at client side when the video is being transferred? or else do you want to play the video after complete transfer of video?

Member Avatar for kingsonprisonic
0
380
Member Avatar for harinath_2007

Hey all.. Happy new year .. I am insearch of converting the android application(apk) to java desktop application. I dont want to run it in some sort of emulators. I want to convert the apk file into java(J2se) desktop applciation and run it on my desktop. Can you suggest some …

Member Avatar for harinath_2007
0
123
Member Avatar for -acir-

DO you have the data and logic with you . IF yes , then coding is not a problem. I mean for what value of input , what illness we should display etc. If you have those raw data , then coding is not a big deal.

Member Avatar for -acir-
0
145
Member Avatar for Kewne

No need to install anything..just add the Bluetooth libraries that you are going to use to your classpath(if you are using IDE's , then add the external bluetooth jar files to your project). Thats all...you are done..

Member Avatar for Kewne
0
208
Member Avatar for harinath_2007

Hi folks. I encountered a problem. My application works perfectly if i run it from netbeans. Even it works fine when i build my project and run the jar file from the netbeans(dist) folder. But when i copy the jar file to another place(or another drive) , the jar file …

Member Avatar for stultuske
0
353
Member Avatar for harinath_2007

Hi folks. I am learning java from past 5 years and constantly upgrading myself and excited to know interesting classes of java. Whats your favourite class in java? Plz share if you find any new interesting inbuilt class that comes in jdk or even 3rd party is also fine.

Member Avatar for harinath_2007
0
347
Member Avatar for harinath_2007

I'm having tough time with netbeans. I am trying to add external image files to the netbeans project but confused where to place them. I copied the image files in every folder of netbeans(as i was tired) but nothing worked. Where exactly I should place the external resource files(images,videos,auidos etc)..

Member Avatar for harinath_2007
0
91
Member Avatar for preetg

Why to make that much complex.... Use some third party softwares. Google it , you'll find many softwares to do that task.

Member Avatar for Liaquat Nohari
0
340
Member Avatar for harinath_2007

Hi folks. I am in search of automated swing builders (stylish jframe builders). Basically like IDE's. Yeah I am well familiar and bored of this netbeans, eclispse, etc. Can anyone suggest me some tools that will create some cool and **stylish** jframes or swings by just drag and drop.. I …

Member Avatar for stultuske
0
299
Member Avatar for JamesCherrill
Member Avatar for JamesCherrill
0
379
Member Avatar for bikashjit

> I want to make J2ME mobile browsers, and games. > Im complete beginner so.. > How much time it may take me to become master in developing games and utility apps.? I recommend studying Android development rather than j2me as it is somewhat out of date.

Member Avatar for harinath_2007
0
181
Member Avatar for queenabdallah
Member Avatar for aravind326

Just a thought. (Might be silly) How about using Strings. Store it in a string so that the index will be the precedence order of that character. Just retrieve the desired operator using its index value.. Lets say : my string is String operators="+&%^()^%$"; just retrieve using the index . …

Member Avatar for aravind326
0
455
Member Avatar for hwoarang69

Data structures is an ocean.. There will be something to learn still even after studying so much.. I found this [site](http://www.indiabix.com/technical/data-structures/). Hope it helps.

Member Avatar for jalpesh_007
0
189
Member Avatar for Hakoo

You need to declare outside the constructor if you want to access the variables in your class. Remember one basic rule : The scope of any variable is within the block they declared Ex:- { int a=5;} so variable 'a' cannot be accessed outside that block. If you want to …

Member Avatar for Hakoo
0
292
Member Avatar for Jlearner

Dont leave the catch block empty. Add ex.printStackTrace() in the catch block. So that you will know the errors if any. (Remember : Never ever leave the catch block empty in you whole programming life because that will make your life worse:) ) And you do not need to add …

Member Avatar for harinath_2007
0
290
Member Avatar for zachattack05

NICE dude...I took the survey ..Nice thought.. Just asking.: Why did u asked that gender question :)

Member Avatar for zachattack05
0
477
Member Avatar for peter_budo

Did you tried [URL="http://www.blurayplayersoftware.net/"]this[/URL]

Member Avatar for abbotbass
1
248
Member Avatar for eskember

Do you really think anyone here will read your entire code ? Before posting your problem here , do some background work from your side. It will help you to learn and understand the subject. Search for the exact part of the code where button code is written and you'll …

Member Avatar for harinath_2007
0
792
Member Avatar for daino

The path you said looks like a linux path. However , once check whether the software you are trying to install is for linux or xp. Once check its compatability. If issue persists , then try to create the folder manually which it is asking for.

Member Avatar for harinath_2007
0
127
Member Avatar for Darshan5

Ofcourse , you have to use KeyListener. Go through [KeyListener](http://docs.oracle.com/javase/1.4.2/docs/api/java/awt/event/KeyListener.html) and [KeyEvent](http://docs.oracle.com/javase/1.4.2/docs/api/java/awt/event/KeyEvent.html) classes . The KeyEvent class will be useful for comparing what keys have been pressed. Google some keylistener examples and based upon that build your own logic. For example , if you dont want to allow numerics, then …

Member Avatar for JamesCherrill
0
189
Member Avatar for harinath_2007

Hi I recently came across a windows inbuilt program "winchat". I found it quite interesting but it seems like it is not working. When i try to type a ip address and dial, it says "The other computer did not resepond". I am using this program for the first time. …

Member Avatar for JorgeM
0
139
Member Avatar for gerbil

Windows 8 = (windows 7 ) + (slight change in welcome screen ) And, @gerbil stick to your current OS as long as your requirements are met. But in my opinion (my own personal opinion), Windows xp lacks security when compared to 7. But 7 is ok. I am using …

Member Avatar for gvlral
0
376
Member Avatar for SSagar

just a thought.. why dont u write the same logic in java that you want from C. and also if you want to execute some low level or system level stuff that java is not capable of. just create the exe file that does the functionality you want in C …

Member Avatar for JamesCherrill
0
217
Member Avatar for gimmeuheart
Member Avatar for PrimeOutsourcin

When i am bored, I surf the internet until my eyes and brain gets heated up..

Member Avatar for Ene Uran
0
232
Member Avatar for harinath_2007

Since i joined daniweb , i have been thinking why there is no video uploading option.. I know we can upload images , then why not videos?? Sometimes we cant type the queries or we cannot explain the questions theoratically . So it maynot be possible to ask or type …

Member Avatar for JorgeM
0
194
Member Avatar for harinath_2007

When i tried to access the daniweb page on my android mobile, there is no bar on the bottom (i.e the bar which appears when we access through pc. which contains my posts, my artices etc).. Is the problem with my mobile or else there is no such thing still …

Member Avatar for harinath_2007
0
131
Member Avatar for harinath_2007

Hi , I am a beginner of android programming. I built an application which is working fine.. but when i modify the source code( i mean that activity.xml which is inside layout folder) the output is not getting effected when i run the app second time.. i mean previous output …

Member Avatar for harinath_2007
0
110
Member Avatar for sathya88

@sathya88 I think this is what you are looking for [CODE]frame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);[/CODE] place the above code in line 13 and 17.

Member Avatar for hoon85
0
3K
Member Avatar for isley
Member Avatar for kathir100

using jar command or if you are using IDE , the IDE automatically creates jar file once you run your application.

Member Avatar for NormR1
0
80
Member Avatar for harinath_2007

HI all... when i try to run my android application , i am getting the error as below.. [2012-08-12 22:41:57 - Bluee Chat] Android Launch! [2012-08-12 22:41:57 - Bluee Chat] The connection to adb is down, and a severe error has occured. [2012-08-12 22:41:57 - Bluee Chat] You must restart …

Member Avatar for harinath_2007
0
192
Member Avatar for Krokcy

i know its late to reply but it will be better you post the errors that you are facing..

Member Avatar for harinath_2007
0
551
Member Avatar for vishu.bhavsar

if you want to execute your project that contains some database in another machine , you DEFINITELY need to set the DATA SOURCE in that machine. may be you can import and export database files as a single file but you cant import and export Data source settings... Its as …

Member Avatar for Ezzaral
0
175
Member Avatar for harinath_2007

Hello everyone.. I started learning android programing today and i am getting the below error in my first adroid program.. [2012-08-12 21:22:32 - Emulator] WARNING: Data partition already in use. Changes will not persist! [2012-08-12 21:22:32 - Emulator] WARNING: SD Card image already in use: C:\Users\Hari\.android\avd\droidX.avd/sdcard.img [2012-08-12 21:22:32 - Emulator] …

0
62
Member Avatar for nikki05
Member Avatar for Dani
Member Avatar for neatric
0
448

The End.