Click here to Skip to main content
Page 1 of 42
Page Size: 10 · 25 · 50


Author filtered by: TorstenH. [x]
Answer 14 May 2013   license: CPOL
The web knows it all[^]
Forum Message 13 May 2013  
You need to check if the JList does contain so much values. You're not coding safe. You need to take more care. You can never expect a value to be there as you need it - always check if the value
Forum Message 13 May 2013  
Read the tutorial. and maybe make a little "Area51"-project where you try and test things aside from normal coding. regards Torsten
Forum Message 12 May 2013  
+5 - This is how to get this done[
Answer 10 May 2013   license: CPOL
The Java JMF API[^] is your Friend.
Answer 10 May 2013   license: CPOL
Because you're using the hashmap while changing the item. That does not work.How to Avoid ConcurrentModificationException when using an Iterator[^]
Answer 8 May 2013   license: CPOL
If there would only be something like an API to do the trick for me....OH THERE IT IS[^]
(untagged)
Answer 6 May 2013   license: CPOL
maybe you even need to create a custom JDialog.http://docs.oracle.com/javase/tutorial/uiswing/components/dialog.html[^]That will guide you.
Sub menu - Java in CMD by TorstenH.
Answer 2 May 2013   license: CPOL
You created an object menu from type MainMenu.That variable exists in the scope of your main method.You can call that object as often as you want.Currently your application ends after the call of the object menu.Also: You're extending MainMenu in various types.I'd recommend to...
Answer 2 May 2013   license: CPOL
YES, it is possible.Java Reflection API - that will guide you through.
Re: Hey Mr. President by TorstenH.
Forum Message 2 May 2013  
In Germany we have general health insurance beside if the style of insurances you have (we call that private health insurance) No need to worry when a child is sick or anything unexpected happens.
Answer 30 Apr 2013   license: CPOL
your are initalizing the Timer object again and again!Take it completly into the loop. I would also extend it with a custom object adding a name/identifier attribute to the Timer:public class MyTimer extends Timer{ private final strID; // final -> has to be set by...
Forum Message 26 Apr 2013  
possible. You should use log4j for this and refer to this: Extending Log4j[
Answer 24 Apr 2013   license: CPOL
Read about the heap space[^]Read about Garbage Collector[^]If your app does not have "surviving pojos", then the heap's Survivor Space is not used.Survivors are a typical problem when using JNI to connect to some C Coding and a reference to that system (e.g. a pointer there) is...
Answer 16 Apr 2013   license: CPOL
By using a JS Script and the according API.Lots of Websites provide a API that you can interact with:some examples:https://developers.google.com/[^]https://developers.facebook.com/[^]
Answer 16 Apr 2013   license: CPOL
Extend a base class, which provides the stuff that is shared by all 3 parts (EDIT: like the Connection "conn")But why split that? Looks fine to me like it is.
Answer 15 Apr 2013   license: CPOL
You should take a look at the concept of PGP[^].There are great libs out there supporting you in the task.
Forum Message 15 Apr 2013  
Felix dry food is great for ours - the tiger loves the indoor version. The cans are not touched at all. Cats are very picky - you can figure it upon the amount of meat in the can - felix is only
Answer 15 Apr 2013   license: CPOL
1. search for it - common problem.2. There is no MDI. You can use Swing, SWT, JFace or another GUI. That's one of the big advantages of Java. I recommend Swing for the beginning.3. there are widgets for that depending on the GUI you're using.
Answer 5 Mar 2013   license: CPOL
Richards comment is short form what you've got to do:create a function that you call before you create your GUI:public String[] doLogin(){ //create Dialog with a Comment and 2 Textfields JTextField name = new JTextField(); JPasswordField pwd = new JPasswordField(); // for...
Answer 27 Feb 2013   license: CPOL
you need to update your GUI after you make those changes. A call for JFrame.revalidate()[^] will do the trick.
Forum Message 26 Feb 2013  
Yeah, those are pretty often used. But I read @ amazon that they cause noise pollution to the others - fine for subwaym not so fine for office. I think I'm going to try some AKG518, those are rated
Forum Message 26 Feb 2013  
Hey! I'm currently using those small in ear headphones. I want bigger headphones, some that say "I'm NOT available". They have to be quite for others though, co-workers should not be offended
Answer 21 Feb 2013   license: CPOL
there is a update command for that: android.database.sqlite.SQLiteDatabase. update (String table, ContentValues values, String whereClause, String[] whereArgs)[^]please also take a look at the great tutorial by Lars Vogel upon working with SQlite in...
Answer 21 Feb 2013   license: CPOL
...by reading the documentation according to that?SharedPreferences[^]DataStorage Tutorial[^]
Answer 21 Feb 2013   license: CPOL
look at your code in the calls "Datatran" line 84/86. there are errors.You can activate line numbers in the preferences of your IDE.http://docs.oracle.com/javase/tutorial/uiswing/components/table.html[^]for direct advice we would need some code snippets and some debug output.
Answer 21 Feb 2013   license: CPOL
This is no Java question - and for real not even one for C#.You should set up an extra key, the stuID is a value, not a counting key. You would end up with a mess if someone deletes the dataset "st001".
Answer 21 Feb 2013   license: CPOL
I can recommend to use GWT. simple to use, great design and fast to integrate. https://developers.google.com/web-toolkit/[^]
Answer 21 Feb 2013   license: CPOL
http://docs.oracle.com/javase/...
Answer 20 Feb 2013   license: CPOL
No coding for at least 2 weeks - make the effort to define the project.Software Requirements Specification[^]Write a project description, think about what to get in the app, what might be in and what is not in.
Answer 20 Feb 2013   license: CPOL
You are asking for a driver. is the device installed? is it available at the system? then you should be good to go.The mobile looks quite some like a Apple product though.
Answer 19 Feb 2013   license: CPOL
this way: http://docs.oracle.com/javase/tutorial/java/javaOO/methods.html[^]PLease read the tutorials and I can recommend to buy a book on java development.
Answer 19 Feb 2013   license: CPOL
You should not ask questions like this: - Use netbeans. http://netbeans.org/[^]- Read in the Tutorials:http://docs.oracle.com/javase/tutorial/uiswing/index.html[^]and take a look at some books (it's like an additional monitor thingy).
Re: MS Doc in Java by TorstenH.
Forum Message 14 Feb 2013  
Keep it to the POI API. That is working, although it is still under construction. You can find some examples in the
Answer 14 Feb 2013   license: CPOL
That's how:http://www.w3schools.com/js/js_popup.asp[^]
Answer 13 Feb 2013   license: CPOL
Just as you would do that in Java.http://java-source.net/open-source/pdf-libraries[^]FOP os common used, iText is also pretty good (check license rules!).
Answer 13 Feb 2013   license: CPOL
I would call that a Remote Desktop.http://blog.g4team.com/?p=5889[^]I'm not sure if it is allowed to control the device from the PC - there might be security issues.You should check the debugging mode, that's how the PC is allowed to control a bit more.
Answer 13 Feb 2013   license: CPOL
you did not really search if you did not find the Google Maps API[^]The mobile needs to be assigned to be found via such a service.EDIT: You want to look for "location based services".
Answer 13 Feb 2013   license: CPOL
You have to go on in the wizard, don't just push "finish" after first page is filled out.3. page of the wizard has the option "generate web.xml descriptor".once the option is deselected it does not come up again by itself. Eclipse is assuming that it is your preferred setting.
Answer 13 Feb 2013   license: CPOL
Exception in thread "main" java.lang.NullPointerExceptionat MyCircularLinkedList.getNode(MyCircularLinkedList.java:123)at MyCircularLinkedList.add(MyCircularLinkedList.java:67)at MyCircularLinkedList.add(MyCircularLinkedList.java:59)at...
Answer 7 Feb 2013   license: CPOL
The client is pretty safe - that will keep running, you just need to reestablish the connection.To detect the lost of connection you can use a "heartbeat" or figure if a regular connection you're making is not working (like updating some table with server's data).The server - you need to...
Answer 7 Feb 2013   license: CPOL
check this tutorial:Fundamentals of the JavaMail API[^]All about JavaMail[^]pretty good, it's all in there.A web email account like gmail will not work for development, as they let you demand access on a limited base and will ban you when you fail with your login.If you need a...
How to create timer? by TorstenH.
Answer 7 Feb 2013   license: CPOL
Please check this Blog,m that should explain the thingy: http://steve.odyfamily.com/?p=12[^]
Answer 7 Feb 2013   license: CPOL
http://docs.oracle.com/javase/...
Answer 7 Feb 2013   license: CPOL
Check This:http://www.javacoffeebreak.com/books/extracts/jini/Event.html[^]
Answer 7 Feb 2013   license: CPOL
you know that there is a SQLite in Android inculded?Lars Vogel has a pretty neat tutorial for working with that:http://www.vogella.com/articles/AndroidSQLite/article.html[^]
Forum Message 5 Feb 2013  
That is not the way it works. We do not provide code. We are developers ourselves, we code for money. What is the exception/ error? have you just c&p'd the code/followed the link at the end of the
Answer 5 Feb 2013   license: CPOL
Your email is set up false, the from address is not right. Therefore the message cannot be send. there must be some address - not a valid one, but there must be some.Please refer to these documentations: Fundamentals on the JavaMail API[^] (PDF)Email through Java[^] (website)All...
Answer 1 Feb 2013   license: CPOL
You should use the JAVA Mail API for that. It's suitable.Here are some Tutorials and helpful links:Fundamentals on the JavaMail API[^]Was on oracle server, don't know why they do not host it any more. Great source.All About Java Mail[^] @ scribd.comI can recommend to start with...
Answer 31 Jan 2013   license: CPOL
none.- your code is not valid (SOP???)- Runnable is an interface (implements not extends - unless MyRunnable is an Interface too, of course.)and the main reason is that the class MyMain will not run because it does not have main function.BUT when you modify that to be a valid...

Page 1 of 42
1 2 3 4 5 6 7 8 9 10


Advertise | Privacy | Mobile
Web01 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid