9,869,444 members (25,694 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
2,063 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 42
Page Size:
10
·
25
·
50
Author filtered by: TorstenH.
[x]
how to use mapguide with java
by
TorstenH.
Answer
14 May 2013
license:
CPOL
The web knows it all[^]
General Programming
»
Uncategorised Quick Answers
»
General
Java
Re: JList is returning null value
by
TorstenH.
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
General Programming
»
Java
Re: Perform -> key press Event on GUI programmatically
by
TorstenH.
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
General Programming
»
Java
Re: Perform -> key press Event on GUI programmatically
by
TorstenH.
Forum Message
12 May 2013
+5 - This is how to get this done[
General Programming
»
Java
how to run a video clip in java
by
TorstenH.
Answer
10 May 2013
license:
CPOL
The Java JMF API[^] is your Friend.
General Programming
»
Uncategorised Quick Answers
»
General
Java
when i removing one element from hash map getting concurrent modification exception
by
TorstenH.
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[^]
General Programming
»
Uncategorised Quick Answers
»
General
Java
Mobile
Android
How to Implement Drobox/gdrive/skydrive etc file uploading Files & Folder
by
TorstenH.
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[^]
General Programming
»
Uncategorised Quick Answers
»
General
(untagged)
how to break a new line in JOptionPane.messageDialog
by
TorstenH.
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.
General Programming
»
Uncategorised Quick Answers
»
General
Java
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...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Homework
Is it possible to pass a Class as a parameter
by
TorstenH.
Answer
2 May 2013
license:
CPOL
YES, it is possible.Java Reflection API - that will guide you through.
General Programming
»
Uncategorised Quick Answers
»
General
Java
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.
General Discussions
»
The Soapbox
Java Timer in For Instruction
by
TorstenH.
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...
General Programming
»
Uncategorised Quick Answers
»
General
Java
For
time
array
Re: separate logger configuration for each IDs
by
TorstenH.
Forum Message
26 Apr 2013
possible. You should use log4j for this and refer to this: Extending Log4j[
General Programming
»
Java
Survivor Space not getting used in JVM
by
TorstenH.
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...
General Programming
»
Uncategorised Quick Answers
»
General
Java
automate a behaviour in a web site
by
TorstenH.
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/[^]
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
Java
PHP
Opening and closing connection on different class
by
TorstenH.
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.
General Programming
»
Uncategorised Quick Answers
»
General
Java
JDBC
MySQL
how can encrypt in xslt and decrypt in java
by
TorstenH.
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.
General Programming
»
Uncategorised Quick Answers
»
General
Java
XSLT
Re: I do like lazy programmers, sometimes.
by
TorstenH.
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
General Discussions
»
The Lounge
Need Help in Java JFrame
by
TorstenH.
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.
General Programming
»
Uncategorised Quick Answers
»
General
Java
running program after password entry
by
TorstenH.
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...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Swing
Eclipse
password
Add Seperate class JPanel component into JFrame Class using Netbeans
by
TorstenH.
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.
General Programming
»
Uncategorised Quick Answers
»
General
Java
netbeans
Re: Big headphones recommendations
by
TorstenH.
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
General Discussions
»
The Lounge
Big headphones recommendations
by
TorstenH.
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
General Discussions
»
The Lounge
update data in sqlite database android
by
TorstenH.
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...
General Programming
»
Uncategorised Quick Answers
»
General
XML
Java
Mobile
Android
Accessing Shared Preference file
by
TorstenH.
Answer
21 Feb 2013
license:
CPOL
...by reading the documentation according to that?SharedPreferences[^]DataStorage Tutorial[^]
General Programming
»
Uncategorised Quick Answers
»
General
Mobile
Android
how to correct the following errors in java
by
TorstenH.
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.
General Programming
»
Uncategorised Quick Answers
»
General
Java
How to Generate Auto-Increment number in C# ?
by
TorstenH.
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".
General Programming
»
Uncategorised Quick Answers
»
General
SQL
database
which external UI we can use in Java
by
TorstenH.
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/[^]
General Programming
»
Uncategorised Quick Answers
»
General
Java
geometric shapes in java
by
TorstenH.
Answer
21 Feb 2013
license:
CPOL
http://docs.oracle.com/javase/...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Performance and Security Evaluation of Wireless Network project
by
TorstenH.
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.
General Programming
»
Uncategorised Quick Answers
»
General
Java
Network
Project
monitoring
detect the hardware for payment gateway
by
TorstenH.
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.
General Programming
»
Uncategorised Quick Answers
»
General
Java
How to pass a png file as a parameter to a method in java?
by
TorstenH.
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.
General Programming
»
Uncategorised Quick Answers
»
General
Java
Creating Graphic/GUI for Java
by
TorstenH.
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).
General Programming
»
Uncategorised Quick Answers
»
General
Java
graphics
GUI
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
General Programming
»
Java
java scripit Dialouge / Alert Box
by
TorstenH.
Answer
14 Feb 2013
license:
CPOL
That's how:http://www.w3schools.com/js/js_popup.asp[^]
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
Java
generating pdf dynamically from db
by
TorstenH.
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!).
General Programming
»
Uncategorised Quick Answers
»
General
SQL
Mobile
Android
PDF
android mobile screen shared on desktop
by
TorstenH.
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.
General Programming
»
Uncategorised Quick Answers
»
General
Java
Mobile
Android
Java track mobile phone
by
TorstenH.
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".
General Programming
»
Uncategorised Quick Answers
»
General
Java
error creating servlet in eclipse
by
TorstenH.
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.
General Programming
»
Uncategorised Quick Answers
»
General
Java
Eclipse
Servlet
Exception in thread "main" java.lang.NullPointerException
by
TorstenH.
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...
General Programming
»
Uncategorised Quick Answers
»
General
Java
error/fault injection examples
by
TorstenH.
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...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Send simple email from one machine to other
by
TorstenH.
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...
General Programming
»
Uncategorised Quick Answers
»
General
Java
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[^]
General Programming
»
Uncategorised Quick Answers
»
General
Java
Mobile
Android
sorting xml using java comparator
by
TorstenH.
Answer
7 Feb 2013
license:
CPOL
http://docs.oracle.com/javase/...
General Programming
»
Uncategorised Quick Answers
»
General
Java
How to define an event in a java interface
by
TorstenH.
Answer
7 Feb 2013
license:
CPOL
Check This:http://www.javacoffeebreak.com/books/extracts/jini/Event.html[^]
General Programming
»
Uncategorised Quick Answers
»
General
Java
android tutorial to save data displayed on listview to mysql database
by
TorstenH.
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[^]
General Programming
»
Uncategorised Quick Answers
»
General
Java
Mobile
Android
Eclipse
Re: Generate X509 Certificate and Sign it
by
TorstenH.
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
General Programming
»
Java
i am try send mail .i get exception below
by
TorstenH.
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...
General Programming
»
Uncategorised Quick Answers
»
General
Java
send html email with changing data using java program
by
TorstenH.
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...
General Programming
»
Uncategorised Quick Answers
»
General
Java
HTML
Calling run method of classes(either extended by thread class or implemented by runnable interface)?
by
TorstenH.
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...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Page 1 of 42
1
2
3
4
5
6
7
8
9
10
First
·
Prev
·
Next
·
Last
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