 |
 |
When posting your question please:- Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
- Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
- Keep the subject line brief, but descriptive. eg "File Serialization problem"
- Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
- Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
- Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
- If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode HTML tags when pasting" checkbox before pasting anything inside the PRE block, and make sure "Ignore HTML tags in this message" check box is unchecked.
- Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
- Please do not post links to your question in one forum from another, unrelated forum (such as the lounge). It will be deleted.
- Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
- If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
- No advertising or soliciting.
- We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
When answering a question please:
- Read the question carefully
- Understand that English isn't everyone's first language so be lenient of bad spelling and grammar
- If a question is poorly phrased then either ask for clarification, ignore it, or mark it down. Insults are not welcome
- If the question is inappropriate then click the 'vote to remove message' button
Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid.
cheers,
Chris Maunder
The Code Project Co-fou
|
|
|
|
 |
I am a student working on a project that requires Iris Recognition. I write java to some extent. So please I don't know if anybody can help with the Libraries in java I can use or the way I can go about with the Iris Recognition.
|
|
|
|
 |
You should at least do a search for yourself to see what libraries are available and whether they offer such a feature.
|
|
|
|
 |
The only one I have seen is the JIIRM.jar. Which is without documentation. Also OpenCV, but don't know the way to go about it. Any one who knows how about how to go about Iris Recognition using OpenCV and java?
modified 4-Nov-14 13:24pm.
|
|
|
|
 |
how to open the value of one page on click of other form
|
|
|
|
|
 |
Hey guys....i have a menu with 3 image view that i set them as my buttons....now i want to when i click on each of them will going to another activity....by now....when i click on Enter button i move to the other activity and i havnt any problem with that....but i want when i clickng on About button the application inspiring me to the other activity that i created before....i dont know hot to do it?i dont know how to use this with if or else if command....can some one help me?these are the bunch of my codes....thanks :
package my.book.namespace;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
public class TheLastOfUsActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
ImageView myimg = (ImageView) findViewById(R.id.enter);
myimg.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View arg0) {
startActivity(new Intent(TheLastOfUsActivity.this, one.class));
}
});
}
}
|
|
|
|
 |
This question really belongs in the Android forum[^]. However, your question is less than clear, please try and give some more detail.
|
|
|
|
 |
Hello guys
I hava an "Order list"
I need to Delete The First Number
public void delFirst()
{
}
public void delLast()
{
if (!isEmpty())
{
size--;
}
}
|
|
|
|
 |
none of that actually tells us out here what the underlying storage type you're using is - an array or a list - its pretty ambiguous, so the answer would vary
for a list, you could do
myList.remove(0);
for an array ? hmmm.. this would copy from the element [1] onwards in the oldArray to element [0] in a newArray - you then have to think about replacing oldArray with newArray .. and, Im not sure wether this copies elements or references, or even if it will compile
somedatatype[] newArray = new somedatatype[oldArray.length-1];
System.arraycopy(oldArray,1,newArray,0,oldArray.length-1);
.. but the gist in this case is create a temp array, copy your items to it shuffling 'up' by one element index, then move the data back to the original array
have fun (ps - I try not to code in java, so there could be holes big enough to drive a truck through in my suggestions)
|
|
|
|
 |
i want to create a simple UI that displays simple files from the server.
Files like word documents, pdf files and pictures.
there is no option to delete or edit the files but just to view the files.
what programming language should i use to create such a UI.
currently i am trying to do it with java.
finally i like to replace it with the android i have on my tablet. How can i replace it?
|
|
|
|
 |
This is an impossible question to answer, please read http://www.codeproject.com/Messages/3137511/Forum-Guidelines-PLEASE-READ.aspx[^]. You need to go and research the features you are interested in, spend time studying the language and think about the design of your application. I notice also that you have posted this question in three forums; please post in one forum only, you will get just as many good replies.
|
|
|
|
 |
I am a .NET programmer with years of experience. My new job will pay for accredited online courses. I would really like to expand my knowledge by learning Java.
Already know the basic as I program in C#. Would like to find a program that maybe has an advanced course.
Can anyone make any suggestions?
Where I live has two colleges but no programming classes...what's up with that???
Looked at things like University Of Phoenix but doesn't really seem like I would learn anything there.
Would really like a course that is very hands on and has assignments that have to be completed and graded...not a course that you read a bunch of useless material and take a test.
I have already went thru a few books which are all about the same but still feel I am not getting near the level I have with .net
modified 24-Oct-14 15:43pm.
|
|
|
|
 |
Hi,
i just want to know that how to create master page and content page using java code?
Is there any tool like ASP.NET to directly make master and content page using drag and drop option.
please help me..??
|
|
|
|
|
 |
Hello I am having some trouble figuring out what is going wrong in my code here, I need to get this to display all the perfect numbers from 1 - 10 000 on the console and am unsure what exactly is going wrong as I am not getting any output, I am a newbie and here is my code I have for it so far (I am new to this board so I apologize if this is the wrong place to post this):
int num = 3;
int y = 2;
int sum = 0;
while (num < 10000) {
while (y < num) {
int x = num % y;
if (x == 0) {
sum += y;
}
y++;
}
if (sum == num) {
System.out.println(num);
}
num++;
}
|
|
|
|
 |
Your algorithm for calculating a perfect number is not correct; see http://en.wikipedia.org/wiki/Perfect_number[^]? You also need to initialise the values of y and sum at the beginning of each iteration of your major loop.
|
|
|
|
 |
Run this Code
package p1;
import java.io.IOException;
public class perfect
{
public static void main(String[] args) throws IOException
{
int stnumber = 1;
int ennumber = 10000;
System.out.println("Perfect Numbers between "+stnumber+ " and "+ennumber);
for (int i = stnumber; i <= ennumber; i++)
{
int number = i;
int sqrt = (int) Math.sqrt(number);
if (sqrt * sqrt == number)
{
System.out.println(number+ " = "+sqrt+"*"+sqrt);
}
}
}
}
|
|
|
|
 |
Is it possible to scroll JFrame if so den how?
|
|
|
|
|
 |
I m not able to add the external jar into classpath....can u plz help me....
error-Could not write file: .classpath.
|
|
|
|
 |
Classpath is not a file it is a parameter specification to the javac or java commands. What exactly are you trying to do?
|
|
|
|
 |
1) Integer currentGroupId = Integer.valueOf(-1);
2) currentGroupId = Integer.valueOf(rs.getInt("CONSUMER_GROUP_ID"));
Please explain both of it
|
|
|
|
 |
Please post your question once only. Also, you can refer to the documentation[^] for basic questions.
|
|
|
|
 |
1) Integer currentGroupId = Integer.valueOf(-1);
2) currentGroupId = Integer.valueOf(rs.getInt("CONSUMER_GROUP_ID"));
Please explain both of it
|
|
|
|