283 Posted Topics
| |
Re: 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 | |
Re: 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. | |
Re: Is that code working fine for other file extensions?? | |
Re: 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 | |
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 … | |
| |
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 … | |
Re: 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 | |
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 … | |
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. | |
Re: 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? | |
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 … | |
Re: 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. | |
Re: 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.. | |
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 … | |
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. | |
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).. | |
Re: Why to make that much complex.... Use some third party softwares. Google it , you'll find many softwares to do that task. | |
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 … | |
Re: Yes.Even i prefer first method whenever i need to read other's code. | |
Re: > 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. | |
Re: [Click](http://bit.ly/RK5BWo) | |
Re: 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 . … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: NICE dude...I took the survey ..Nice thought.. Just asking.: Why did u asked that gender question :) | |
Re: Did you tried [URL="http://www.blurayplayersoftware.net/"]this[/URL] | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
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. … | |
Re: 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 … | |
Re: 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 … | |
Re: When i am bored, I surf the internet until my eyes and brain gets heated up.. | |
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 … | |
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 … | |
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 … | |
Re: @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. | |
Re: even i am looking for the solution...if you get any info , please update me.. | |
Re: using jar command or if you are using IDE , the IDE automatically creates jar file once you run your application. | |
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 … | |
Re: i know its late to reply but it will be better you post the errors that you are facing.. | |
Re: 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 … | |
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] … | |
Re: Can anyone here who has knows the java code for the same functionality... | |
Re: I am using firefox 3.6 and there's no problem .. Everything looks fine.. |
The End.