harinath_2007 56 Posting Whiz

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.

harinath_2007 56 Posting Whiz

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..

harinath_2007 56 Posting Whiz

and not all the ide's put these in the same place(s) on your harddrive.

Yeah...that was the main problem.. These IDE's really sucks and gets worse for every version they release. Instead of understanding & using different IDE's , we can actually learn a new programming language in that time...

Anyways , my problem got solved..thanks for all replies....The solution was that i need to load the images using url and getStream() method.

harinath_2007 56 Posting Whiz

you sound like you have problems accessing the files no matter where you place them, and not with where exactely to put them. I do not know about netbeans...

haha..No..My application displays the images perfectly when i try in other editor.(Editplus). The problem occurs only when i try it in netbeans.
The path is correct and i do know about that double slash. My question is where exactly i should place the external resource files(images,media files etc) in netbeans project folder?

harinath_2007 56 Posting Whiz

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)..

harinath_2007 56 Posting Whiz

Oh..really.. I never used an IRC client before. Maybe I should give a try.

harinath_2007 56 Posting Whiz

the link "irc.daniweb.com" is not working. All the best for new chat feature.Waiting eagerly..

harinath_2007 56 Posting Whiz

Its quite boring here and requires some hot programming stuff discussions LIVE. Eventhough there's a PM option , why cant there be an option to live chat with somebody else in this website and share our thoughts and ideas and lot more. Its time for creating chat rooms..

harinath_2007 56 Posting Whiz

"If Debugging Is The Process Of Removing Bugs, Then Programming Must Be The Process Of Putting Them In."

harinath_2007 56 Posting Whiz

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 found this jframebuilder but i never tried it.
Basically i want some tools that will create sylish jframes with awesome look and feel.:) Suggest me some good links please

Thanks in advance.

harinath_2007 56 Posting Whiz

No, what matters first and foremost is the code is doing the job it set out to do.

Yeah ofcourse...that is by default..

harinath_2007 56 Posting Whiz

Afterall , lines of code doesn't matter. What matters is efficiency of code. Lines of code depends on one's personal view.

harinath_2007 56 Posting Whiz

"The important thing is not to stop questioning."

-Albert Einstein

harinath_2007 56 Posting Whiz

"It is a miracle that curiosity survives formal education."

Albert Einstein

harinath_2007 56 Posting Whiz

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.

harinath_2007 56 Posting Whiz

I sit infront of my computer and browse until my eyes get burnt..

harinath_2007 56 Posting Whiz

Yes.Even i prefer first method whenever i need to read other's code.

harinath_2007 56 Posting Whiz
harinath_2007 56 Posting Whiz

Whoever said money can't buy happiness, didn't know where to shop.

harinath_2007 56 Posting Whiz

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 .

char c=operators.charAt(1);

PS: This is just a radom thought.Dont know if this suits your problem.. Ignore if it doesn't.

harinath_2007 56 Posting Whiz

Data structures is an ocean.. There will be something to learn still even after studying so much..
I found this site. Hope it helps.

harinath_2007 56 Posting Whiz

BE HAPPY AND WAIT FOR YOUR CHANCE..

harinath_2007 56 Posting Whiz

Talent may be delayed but NOT denied.

harinath_2007 56 Posting Whiz

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 access the variables in one class from another class, just create the object of the class that you want to use and access the variables using dot(.) operator

I also see

 protected JLabel lblPlayerName2;

since protected is there , you can access the above variable only in the subclass or in same package.

Learn about Acces specifiers. Click Here

harinath_2007 56 Posting Whiz

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 any jar file unless you use third-party libraries.

harinath_2007 56 Posting Whiz

Oh..Nice thought anyway. Programming was/is/will be one of my favourite subject. :) Dont forget to post the survey results here after you get and analyze enough data. Waiting for the results....Lets see which language wins :)

harinath_2007 56 Posting Whiz

Till now , all those who took survey are from Daniweb it seems...wow..

harinath_2007 56 Posting Whiz

NICE dude...I took the survey ..Nice thought..

Just asking.: Why did u asked that gender question :)

harinath_2007 56 Posting Whiz

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 know why the button is not working.

harinath_2007 56 Posting Whiz

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.

harinath_2007 56 Posting Whiz

Ofcourse , you have to use KeyListener.

Go through KeyListener and KeyEvent 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 you can place a simple IF statement

if(pressed key = KeyEvent.VK_0 || pressed key = KeyEvent.VK_1 .........upto 9)
{
  JOption.ShowMessageDialog(this,"you have pressed a numeric key ...");
 }
harinath_2007 56 Posting Whiz

Yes. i do agree that there should be listener at the target system. But what i saw in a post when i google about the same winchat is that , the service should run in background but not the winchat itself.

Here are the some of the links that i found in google

Winchat

harinath_2007 56 Posting Whiz

Even i tried that. But it din't work still. And one more thing i heard is that , for winchat there is no need to run the same application on other computer.

harinath_2007 56 Posting Whiz

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. Can anyone help me in resolving the problem?0

PS: The LAN is working fine and the ping also works fine.. problem is in settings of the winchat.

harinath_2007 56 Posting Whiz

Reading the above post.

ImZick commented: haha +0
harinath_2007 56 Posting Whiz

I think you forgot to ask the question...

harinath_2007 56 Posting Whiz

Hmmm..Technology can be used both for good and bad. But due to some idiots(those who posts spam) , the entire people should suffer..! What a pity!

harinath_2007 56 Posting Whiz

Well , then i think there is a need for a special buttons or links that leads to "My posts" and "My articles" .
Ok. Can u tell me how to open the "My posts" link from the mobile if there is no option. I mean how to view all the threads that i participated in.

harinath_2007 56 Posting Whiz

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 for accessing daniweb website from mobile.

harinath_2007 56 Posting Whiz

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 the question. It is going to be of GREAT help if there is a chance of uploading a video. It may require huge database and huge maintainence of daniweb server. But it will be awesome and great relief to daniweb users as they can ask the queries more effectively . We can also put a limit on size of the video as well so that uploading limit cannot exceed.

Or else the least option would be uploading a video on youtube or someother websites and pasting the link here..:)

harinath_2007 56 Posting Whiz

i did what you said. i tried the rebuild option but its the same output again.. I dont understand why the output is not changing even though there are no errors...I want to show you the output as video but unfortunately i cant upload here.

harinath_2007 56 Posting Whiz

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 is being displayed eventhough i modify the source code (for ex. adding a new button in source code is not getting effected in output) ..
I AM SURE THAT I SAVED THE FILE BEFORE RUNNING..

this question may seem stupid but i really dont know what's going wrong as i am new to android prog...

Plz help..

Thanks..

harinath_2007 56 Posting Whiz

in my case i want to communicate with bluetooth. The bluetooth application in android will communicate with bluetooth application in PC. the code has no errors when i compile in eclipse IDE. however as emulator doesn't support bluetooth i cant test it in IDE. So i tried deploying the app in my android phone but the app is not working....So how to test it in my pc and then deploy it in my phone...

harinath_2007 56 Posting Whiz

even i am looking for the solution...if you get any info , please update me..

harinath_2007 56 Posting Whiz

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

harinath_2007 56 Posting Whiz

Thanks for the reply. I just wanted to know what the error actually mean and why it is repeatedly showing the same error for every application..however the application still runs fine..

And one more small question.I am developing a bluetooth android application on my bluetooth enabled PC. when i try to run the app , the emulator is showing "Bluetooth is not available".
Can we really run this sort of applications in emulator??

harinath_2007 56 Posting Whiz

can you post your entire code..it may be useful to comment further about your problem..
as far as i understand , i dont feel that it is the problem of jmf library..

harinath_2007 56 Posting Whiz

LONELINESS IS A NICE FEELING SOMETIMES.......

harinath_2007 56 Posting Whiz

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

harinath_2007 56 Posting Whiz

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 simple as this...
you can run your java application in another machine ONLY if that machine also contains java installed in it. similarly you can execute your database application only if the connection settings are properly there in that machine..