tux4life commented: Good suggestion :) +13
jalpesh_007 commented: good solution +4
Stuugie commented: The grass is always greener on the other side +0
its windows 7
Hi .
I installed oracle 10g in D Drive(Because C drive is full). But when i try to uninstall , i cant see that in "add or remove programs". How to uninstall it?..
Any solutions..
Obsession meaning:
An irrational motive for performing trivial or repetitive actions, even against your will
An unhealthy and compulsive preoccupation with something or someone
Programming is not trivial to me. and i dont do anything which is against my will.
And for me , it is not compulsive. It is my PASSION.
So "obsession" is NOT the right word. (for me atleast) .
PS: And this is just a general post which i am typing now because i thought to express what is in my mind
Just like "What's in your mind?" option in facebook. (I think Daniweb should also add the option of posting status messages :) )
There is more chance of misinterpreting things when we are dealing with TEXT. We cant show our expressions (ofcourse smileys are there) in the perfect way. So Dont take my post as argument or reply to your post.
Its my personal feeling.
Programming is in my blood. .. Programming is my religion.. Programming is my passion......Programming is my A-Z
Add your's feeling too......
Happy programming :)
How needs breaks? Any good programmer worth his/her salt can spend 24/7 at the computer.
@Ancient Dragon
Haha..Yes ofcourse , after all our entire lifes are dedicated to computers
Its not about good progrmmer or bad. Its all about our health and our eyes. Even I sit in front of computer 24/7 eventhough my eyes are bursting because my passion is all about computers.
PS: See instead of "who" , you wrote "how" in your post. You need a break to relax yourself.(#just kidding) And i am sure , we can avoid the use of spectacles atleast if we take breaks regularly and maintain good hygiene :)
Generally people sit in front of computers for a long time which results in eye strain. We indeed forget to take a break. So here is a good freeware called FADETOP which reminds you to take a break after every 15 minutes.
However you can change the default time. You can download it for free from the below link
metechsavvy.blogspot.com
you might be talking about data encryption. There are so many encryption algorithms.. Choose any one encryption algorithm and encrypt the data.
Your title to the post looks odd. you dont get any nullpointer exception when you try to import any class. If a class is not found , then you'll get NoClassFound Exception. Maybe you are trying to accessing a object which has 'null' value. Try to figure out yourself , as this is a runtime excepiton, you dont know unless you go through your code carefully.
Simple. Use bluetooth ..:) (#just kidding)
If you want to send any file programatically from your pc to bluetooth , then you must know 2 technologies, i.e android programming and J2SE programming.
This may help you
"If people are talking behind your back, it means you're far in front of them."
There are lot of people who try to deviate you while you are trying to achieve something..
Use them as ladder to grow yourself.
Patience is also a prerequisite for success
Search in google books. you can read online but you are not allowed to download i guess.
you are getting that NumberFormatException while trying to convert string to integer. because of the parseInt() method . Make sure you are giving the valid number as parameter to the parseInt() method.
parseInt method converts string to integer provided string contains only numbers (strictly numbers , not even a space after the number). Otherwise it throws an NumberFormatException.
PS: trim() method will be quite useful in this case
String s="567 ";
int num=Integer.parseInt(s.trim());
Here eventhough the string 's' contains spaces , trim method will trim the spaces thus avoiding exception
anything would be fine..but java reduces your work through api calls. My personal choice would be java (even you posted this thread in java forum :) #kidding)
Just create a simple game like tic-tac-toe , chess etc.
Any planet where there is no concept of money.
why dont you post what exactly you are seeing when you try to turn on your laptop?.
Are there any errors that are being displayed?.
Not sure , it this helps you.
Hai. More or less , i am in the same situation right now that you are facing. I did my graduation in computer science and i have strong (strong is less word) passion towards computers. I want to do my Masters in Computer science but due to lack of money , i cant pursue my dreams.
Maybe today I cant afford my dreams. But one day (god is there and i believe that day will definitely come) i will make my dreams come true.. Till then we should work hard and have to be patient.
Eventhough i deeply want to continue my education , my financial position is laughing at me thinking i cant study further.
The only option available to me is : doing a job.(whatever the job maybe, i need to do as there is no option )
BUT SURELY , I WILL DEFEAT THIS POVERTY ONE DAY AND I WILL PURSUE MY DREAMS.
I wish everything good happens to you.
PS: MONEY SHOULD NOT BE A QUALIFICATION FOR EDUCATION. (Praying god to make it happen).
All the best :)
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
new updates comes with new threats too :)
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.
“There are two types of Pain in this world: Pain that hurts you and Pain that changes you!”
Is that code working fine for other file extensions??
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
thanks for the reply.. how about struts and hibernate??..
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 for the course. I know J2SE (JDBC, servelts and upto JSP). And i am very familiar with all core and advanced java basics .
Thanks in advance
Quoted Text Here
there are two ways:
TextArea textArea = new JTextArea();
DefaultCaret caret = (DefaultCaret)textArea.getCaret();
caret.setUpdatePolicy(DefaultCaret.ALWAYS_UPDATE);
Yes..that works..thanks a lot.
I am not a failure. My success is just postponed.
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 down. I tried everything(view port etc,) but ended up with no luck..
Any idea of how to set the jscrollbar automatically ..
Thanks in advance
"Without requirements or design, programming is the art of adding bugs to an empty text file. ”
“ Any code of your own that you haven't looked at for six or more months might as well have been written by someone else. ”
--Eagleson's law
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 will stick to java...
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 about this , i finally got the solution .
This is the link to get rid of the netbeans duplicate clas bug.
Netbeans
Hope this post will help others who encounter the same problem.
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.
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?
If one day
we all are allowed to put our troubles on a table
& exchange them..
After few moments,
everyone would silently take back his own....:-)
ofcourse..using emulator is far better than rewriting the total android code to java.
Instead of using the defualt android emulator , i prefer some third party softwares for that.
I found this Bluestacks. BUt it is not working.
Any other options..
Thanks for the reply. I found that article long ago and i tried it before and it worked.
I can see the code inside the apk through that method. But i dont want to understand the code and re-write it in java. I just need to run the apk file on my pc .
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 ideas..
Thanks in advance :)
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.
Success will always be a shadow of hard work
"Never ever lose the faith and courage in you until you reach your goal. No matter the fucking situations are."
The human brain is most outstanding thing.It functions 24 hrs n 365
days.It functions right from time U were born until U fall in love.
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 is throwing an exception in the middle of the execution.
Here is the output of my jar file when i run it from another place(other than netbeans folder)
C:\Users\Myself>java -jar C:\Users\Myself\Desktop\Notifier.jar
creating instance
setting look and feel
system tray supported
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: javax/mai
l/AuthenticationFailedException
at hmailnotifier.HideToSystemTray.actionPerformed(HideToSystemTray.java:
244)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Thank you for the change..
Yeah. I meant to ask classes..those who are reading the post now , make the class into plural form :)