9,867,109 members (36,647 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*
10,586 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 212
Page Size:
10
·
25
·
50
Tag filtered by: Java
[x]
JSP Jave how to pass parameter from jsp to java class
by
vishal.v.patil
Answer
13 May 2013
license:
CPOL
use servlet its fine...example given below..import java.io.DataInputStream;import java.io.IOException;import java.io.PrintWriter;import java.util.List;import javax.servlet.ServletException;import javax.servlet.http.HttpServlet;import...
General Programming
»
Uncategorised Quick Answers
»
General
Java
JSP
usb device detection using java
by
nameJulian
Answer
13 May 2013
license:
CPOL
I would suggest looking at RXTX Java Communication API. It is the one I use in my application and it works very good. I'm able to show all my usb ports.
General Programming
»
Uncategorised Quick Answers
»
General
Java
JSP Jave how to pass parameter from jsp to java class
by
saigowthami
Answer
13 May 2013
license:
CPOL
You can set the attributes in jsp page. when forwarding to the action class, the data will be accessible in action class using getParameter method
General Programming
»
Uncategorised Quick Answers
»
General
Java
JSP
jsp - how to call jsp from servlet and java class
by
vishal.v.patil
Answer
13 May 2013
license:
CPOL
//in java codeimport java.sql.*;import java.util.*;public class GetListData { int i=0; public List dataList(){ ArrayList list=new ArrayList(); try{ //Create Select Clause sQL and get conncetions ...
General Programming
»
Uncategorised Quick Answers
»
General
Java
JSP
now am create button here how set image on the button
by
Jayarajantk
Answer
13 May 2013
license:
CPOL
JButton button = new JButton(); try { Image iconImg = ImageIO.read(getClass().getResource("resources/test.bmp")); button.setIcon(new ImageIcon(iconImg)); } catch (IOException ex) { }Here, image file is assumed to be inside src/resources folder.
General Programming
»
Uncategorised Quick Answers
»
General
Java
Java SE
J2EE
A class method called checkIdentity() that takes an identity code as a String argument and returns a boolean value indicating whether the argument is a valid identity code (i.e. the right length...
by
hemanthpoluru
Question
13 May 2013
license:
CPOL
M007V2CHThe classification values have the following meaning:A: ArchaeologistS: StudentV: VolunteerThe first aid level values have the following meaning:0: no first aid qualification1: level 1 first aid qualification2: level 2 first aid qualificationThe DIGS system requires the...
General Programming
»
Uncategorised Quick Answers
»
General
Java
i have a string 'm007v2ch' in which i want to update values can anyone help me
by
hemanthpoluru
Question
13 May 2013
license:
CPOL
dont use buffer readers or tokenizers use only a logic
General Programming
»
Uncategorised Quick Answers
»
General
Java
jsp - how to call jsp from servlet and java class
by
Member 9978021
Question
13 May 2013
license:
CPOL
Hello everybodyi have this servlet and i passed form it to java class the value of variable" sub " but now i want display the result of sql statements in jsp what can i do.servlet: /* * To change this template, choose Tools | Templates * and open the template in the editor....
General Programming
»
Uncategorised Quick Answers
»
General
Java
JSP
Playing videos in android webview
by
Jayarajantk
Answer
13 May 2013
license:
CPOL
You cannot show video embedded except perhaps on devices that have Flash. If you can parse out the YouTube video details, you may be able to construct an ACTION_VIEW Intent that will show them on the YouTube application(for those Android devices that have the YouTube application). Also...
General Programming
»
Uncategorised Quick Answers
»
General
XML
Java
Mobile
Android
How do you run a recursive file search in Java on Linux Ubuntu?
by
Jayarajantk
Answer
13 May 2013
license:
CPOL
Either for(int i = 0; i
General Programming
»
Uncategorised Quick Answers
»
General
Java
Linux
Java SE
JavaSE6
Ubuntu
Threads In Java Programming Language
by
Jayarajantk
Answer
13 May 2013
license:
CPOL
In principle there is no issue with starting threads from other threads. There's no parent child relation between Threads! There's no big advantage calling a thread inside another!The most important thing is that you might run into the point where creating more threads creates contention (due...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Threading
threads
Threads In Java Programming Language
by
nameJulian
Question
13 May 2013
license:
CPOL
Hello. I would like to ask you a question. Is it bad practice to use threads in thread? Something like: Thread bigThread=new Thread(){ public void run(){ //do something here PersonalThread pThread=new PersonalThread();...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Threading
threads
how to bind service to multiple activities
by
shanalikhan
Question
12 May 2013
license:
CPOL
Hi , I have created a service , i want to read data fro it in multiple activities how i can do.anyone please provide me an example or toturialsthanksfollowing is the code of my service :public class HandleServer extends Service { private Server ser=null; public String...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Mobile
Android
Services
JSP Jave how to pass parameter from jsp to java class
by
Shubhashish_Mandal
Answer
12 May 2013
license:
CPOL
There are many way to do that. But the best approach is using MVC/MVC2(Model-View_Controller) pattern. Lots of tutorial are present in web, read them before start.
General Programming
»
Uncategorised Quick Answers
»
General
Java
JSP
why not return complete data from records?
by
Harpreet Singh
Answer
12 May 2013
license:
CPOL
You have tried to add the data stream: ABC, JFKLDJFLDKSJFLDSJFDAs you must know that special symbol "," is used as a separator in Query Commands. So, it has only added the data upto the character "," while executing the insert query on the database.Hope you got what exactly I want to...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Mobile
Android
Sqlite
Atomineer Pro Documentation for Visual Studio
by
Zot Williams
Catalog
12 May 2013
license:
Commercial
Unsurpassed Documentation Comment generation and updating for C#, Visual Basic, C++/CLI, C++, C, Java and UnrealScript code. Keep your comments readable and in sync with the code with a minimum of effort. Plus other coding utilities.
Components, Controls, Libraries
.NET1.0
.NET1.1
.NET2.0
Win2K
WinXP
Win2003
Vista
VS2005
.NET3.0
VB7.x
, +
now am create button here how set image on the button
by
msashwin03
Question
11 May 2013
license:
CPOL
private JPanel addToolbar() { JPanel jp1=new JPanel(); jp1.setLayout(new FlowLayout()); JButton jb7=new JButton("exit "); jb7.addActionListener(this); jb7.setForeground(new Color(00,00,255)); jp1.add(jb7);here how to set the image near to the button field this is...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Java SE
J2EE
now am create button here how set image on the button
by
nameJulian
Answer
11 May 2013
license:
CPOL
By reading your question I think that you want to add an image on your button. You could try something like this:import javax.imageio.ImageIO; //neededimport java.io.File; public void initialize(){ //create your jframe //add you panel to it //add your...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Java SE
J2EE
Finding cycle in 2 dimensional array
by
htkaya
Question
11 May 2013
license:
CPOL
Hi i want to find cycles in 2 dimensional(nxm) array. i have n.m-1 filled cell in my array and i want to find cycle starting empty cell, continues in filled cells an finish in empty cell. For example we have this array;image our first cycle is [0,0],[0,3],[2,3],[2,0]second cycle is...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Java
Algorithms
Finding cycle in 2 dimensional array
by
Richard MacCutchan
Answer
11 May 2013
license:
CPOL
You already posted this question at http://www.codeproject.com/Messages/4562355/Finding-cycle-in-2-dimensional-array-Stepping-Ston.aspx[^]. Please post in one forum only.
General Programming
»
Uncategorised Quick Answers
»
General
C#
Java
Algorithms
Read Multiple Commandlines in Java
by
Filipe Marques
Answer
11 May 2013
license:
CPOL
Hi,Try this:public class Main { public static void main(String[] args) { String initialString = "line1\nline2\nline3"; System.out.println(initialString); System.out.println(); // Get each line of your initialString String[] eachString =...
General Programming
»
Uncategorised Quick Answers
»
General
Java
JSP Jave how to pass parameter from jsp to java class
by
Member 9978021
Question
11 May 2013
license:
CPOL
Hello everybodyI have jsp page and i want to pass parameter from this jsp page to sql statement in java classand display output of statement in anther jsp page.Thanks
General Programming
»
Uncategorised Quick Answers
»
General
Java
JSP
how to create dynamic jCheckBox in java Swing
by
nameJulian
Answer
10 May 2013
license:
CPOL
Use this code, I have written it myself and it works:import java.awt.BorderLayout;import java.util.ArrayList;import javax.swing.BoxLayout;import javax.swing.JCheckBox;import javax.swing.JComboBox;import javax.swing.JFrame;import javax.swing.JPanel;import...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Swing
why not return complete data from records?
by
Nway Nway Hlaing
Question
10 May 2013
license:
CPOL
why not return complete data from records?In a record, the data is,for example,:ABC, JFKLDJFLDKSJFLDSJFDBut when I queried the returned data is:ABCtexts after "," and including "," are not displayed.This is my RunDatabse() inside MainActivity.java, it's called...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Mobile
Android
Sqlite
Can anyone explain a depth first search and breath first search of a graph?
by
yloginov
Answer
10 May 2013
license:
CPOL
The way I try to look at Breadth First Search is that you try the immediate possibilities first. Depth First you stick to one path until you hit a dead end and then try a different path. Say you are in a room with two doors that's inside another room with two door and you need to find an...
General Programming
»
Uncategorised Quick Answers
»
General
Java
search
Can anyone explain a depth first search and breath first search of a graph?
by
OriginalGriff
Answer
10 May 2013
license:
CPOL
The first place to start is Google, which lead me straight to Wiki:http://en.wikipedia.org/wiki/Depth-first_search[^]http://en.wikipedia.org/wiki/Breadth-first_search[^]The depth first is easier than breadth first, but that is to be expected - it's a lot simpler an algorithm.
General Programming
»
Uncategorised Quick Answers
»
General
Java
search
Can anyone explain a depth first search and breath first search of a graph?
by
johnmolo
Question
10 May 2013
license:
CPOL
I have looked at a few Youtube tutorials on how a breath and depth first search work on a graph but I'm still a little confused.Does anyone have a very simple explanation of the searches possibly a useful video on them or any tips on how to understand it?Thanks in advance.
General Programming
»
Uncategorised Quick Answers
»
General
Java
search
Read Multiple Commandlines in Java
by
NSSDNS
Question
10 May 2013
license:
CPOL
I am trying to read inputs from command line.My Input is somewhat like this :# the total size of physical memory (units are B, KB, MB, GB)512MB 2 # the following are memory allocations{abc = alloc(1KB);{y_ = alloc(128MB);x1 = alloc(128MB);y_ = alloc(32MB);for (i = 0; i...
General Programming
»
Uncategorised Quick Answers
»
General
Java
decoding QR CODE using java
by
Maciej Los
Answer
10 May 2013
license:
CPOL
Google[^] and CP Search Box[^] is your Friend :)Here are the rules: Code Project Quick Answers FAQ[^].What are the rules to posting?...4. A few simple rules when posting your question. 1. Have you searched or Googled for a solution? 1. Be specific! Don't ask "I need to...
General Programming
»
Uncategorised Quick Answers
»
General
Java
decoding QR CODE using java
by
- NA -
Question
10 May 2013
license:
CPOL
How to from the image segmentation qr code
General Programming
»
Uncategorised Quick Answers
»
General
Java
User Initiated Real Time Object Tracking System Development
by
Dave Kreskowiak
Answer
10 May 2013
license:
CPOL
First things first.You're so concerned about the UI in this post, but do you have working code that can track an object at all?? That's going to be FAR harder than having the user draw a box with the mouse.The problem you have is that computer vision is in its infancy. How are you...
General Programming
»
Uncategorised Quick Answers
»
General
C#
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
mekalareddy
Question
10 May 2013
license:
CPOL
Good day to all,this is my code check this onewhile (ir.hasNext()) { Map.Entry me = (Map.Entry) ir.next(); Log.v("remove items ", "" + Integer.parseInt(me.getKey().toString())); if (Integer.parseInt(me.getKey().toString()) == closeImage.getId() &&...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Mobile
Android
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 do you run a recursive file search in Java on Linux Ubuntu?
by
Richard MacCutchan
Answer
10 May 2013
license:
CPOL
for(int i = 0; i
General Programming
»
Uncategorised Quick Answers
»
General
Java
Linux
Java SE
JavaSE6
Ubuntu
How do you run a recursive file search in Java on Linux Ubuntu?
by
RadXPictures
Question
10 May 2013
license:
CPOL
Hi. I'm trying to run a recursive file search in Java to return a list of all .mp3 files on the system. Now, my background is in .NET, and I'm fairly new to both Linux and Java. My goal is to create a small crossplatform app that is capable of doing this search for me. On the account I need the...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Linux
Java SE
JavaSE6
Ubuntu
how to run a video clip in java
by
Muhammad Tufail 1979
Question
9 May 2013
license:
CPOL
i want to run a video clip in java how to bring this clip in java program?after that i will do some more actions... for example.tracking of objects.finding the direction of those object etc..but first i want to know how to bring video clip , so that i could be able in the future...
General Programming
»
Uncategorised Quick Answers
»
General
Java
VS2012 C# MVC 4 and Java generator forms
by
Maris Jurgenbergs
Answer
9 May 2013
license:
CPOL
This is the view page I commented, where I wanted the drop down list style object and what it would filter.Answers to your questions:1.Have done that.2.Atm I have the classes to create the view i posted below. I think I need to create this filter menu in order to create other classes which...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Forms
VS2012 C# MVC 4 and Java generator forms
by
Bala Selvanayagam
Answer
9 May 2013
license:
CPOL
What you have done so far and where are you stuck ?over all1.Create an MVC 4.0 project and point to a database (does automatically up to some extend)2.Create the classes you need (Code first method)3.Generate the pages (can do automatically)If you need a menu option then have to...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Forms
VS2012 C# MVC 4 and Java generator forms
by
Maris Jurgenbergs
Question
9 May 2013
license:
CPOL
Hi! Currently I am trying to create a project where I list, edit, delete and create personal details for persons. I am at a stage where I need to create a address page.I wanted to create a drop down menu similar to a style like Html.DropDownListFor object in which I had 2 options. One option...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Forms
Is Java Virtual Machine Tool Interface not supported in Java SE 7?
by
N_Farraj
Question
9 May 2013
license:
CPOL
I need to use some methods in JVMTI or JAVA Platform Debugger Architecture (JPDA)...But I don't know how to start, actually I think they are not supported in Java SE 7...I need to change and modify in the thread stack at run time.Can any one help me???
General Programming
»
Uncategorised Quick Answers
»
General
Java
I am trying to make code for incremental garbage collection...
by
NSSDNS
Answer
9 May 2013
license:
CPOL
Ok. Let me rephrase it.I wanted to make a system what collect my input form command line.My input will be like this:# the total size of physical memory (units are B, KB, MB, GB)512MB 2 # the following are memory allocations{abc = alloc(1KB);{y_ = alloc(128MB);x1 =...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Java
I am trying to make code for incremental garbage collection...
by
NSSDNS
Question
9 May 2013
license:
CPOL
My input will be from command line & it can be any variable in input loop...I have input like this :# the total size of physical memory (units are B, KB, MB, GB)512MB 2 # the following are memory allocations{abc = alloc(1KB);{y_ = alloc(128MB);x1 = alloc(128MB);y_ =...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Java
how to create dynamic jCheckBox in java Swing
by
Filipe Marques
Answer
8 May 2013
license:
CPOL
Hi Kapilk,Just use an array. You read the number of of columns from the combobox and then create an array of JCheckBox:int numberCheckBox = ...JCheckBox[] checkBoxList = new JCheckBox[numberCheckBox];for(int i = 0; i
General Programming
»
Uncategorised Quick Answers
»
General
Java
Swing
how to create dynamic jCheckBox in java Swing
by
Kapilkp
Question
8 May 2013
license:
CPOL
how can i create jcheckboxes dynamically;i am getting table name in a comboBox and i want to add as many checkboxes as the number of columns the selected table have.pls help me out;
General Programming
»
Uncategorised Quick Answers
»
General
Java
Swing
Geting listviews selected items index in touch event in java android
by
mmm3743
Answer
8 May 2013
license:
CPOL
I've solved it using onclickevent, and getting selected item from there
General Programming
»
Uncategorised Quick Answers
»
General
Java
Mobile
Android
Need Help in Java JFrame
by
nameJulian
Answer
8 May 2013
license:
CPOL
If you want to close your JFrame, you just need to call: this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); //your main class must extend JFrame //or use this otherwise yourFrame.setDefaultCloseOperation(JFram.EXIT_ON_CLOSE);This ensures that when you...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Brandoo – Realizing your Brand
by
brandzter
Article
7 May 2013
license:
CPOL
Brandoo – Realizing your Brand
Cloud Computing
»
Azure
»
Windows Azure Developer Contest
Java
Windows
CEO
Intermediate
Sales
Marketing
Azure
Java Developer Program
by
Excellere Edulearning
Catalog
7 May 2013
license:
Commercial
The Java Developer Program is a package that enables you to become a competent entry level Java Developer. You get access to 270 hours of content, 400+ Lab Exercise
Programming Languages
Java
SQL
Dev
JDBC
JSP
Cloud
Servlet
read bmp image in java
by
Sudhakar Shinde
Answer
7 May 2013
license:
CPOL
Here is the [LINK] to understand how to load large bitmap and also refer to the code available to download on this page.
General Programming
»
Uncategorised Quick Answers
»
General
Java
Mobile
Android
image
Page 1 of 212
1
2
3
4
5
6
7
8
9
10
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web03 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid