Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!

Ajeesh Moidutty

Greenhorn
+ Follow
since May 18, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ajeesh Moidutty

i downloaded Eclipse c/c++ ide.
the codes are note highlighted.

and when i try to compile it says : "No binaries found"

how to get through this ?
i need to develop a j2me app to communicate(simple chat) so that i
can chat with my pc through a java app on my system.

Can you tell mw how to make this possible?
14 years ago
Thanks alot joe.
i am now working on that.
14 years ago
can anyone demonstrate copying a file with a progressbar
with the help of essential code?

i wanna just do like this :

Select a source file
select destination
create the dest file.
open the source file byte by byte
write the dest. file byte by byte

and in between show progress.
14 years ago
i am now comfortable with java concepts.
now i wanna take a leap to j2me.

i learned some basics of j2me and just did one or two samples.
i want to learn j2me and bluetooth programming.

i wish if there was a book, "headfirst j2me".
please advice me the best book.
14 years ago
I wrote the following code to read XML data to two String Arrays as follows :
//

DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
Document document = builder.parse(new File("aj.xml"));
NodeList namenode = document.getElementsByTagName("Name");
NodeList passnode = document.getElementsByTagName("Password");
String[] names = new String[250];
String[] passwords= new String[250];

for(int i=0; i<250; i++)
{
Element element = (Element)namenode.item(i);
names[i] = element.getTextContent();
Element element1 = (Element)passnode.item(i);
passwords[i] = element1.getTextContent();
}
//

The structure of my XML file was

//
<?xml version="1.0" encoding="UTF-8"?>
<Names>
<Data>
<Name>Ajeesh</Name>
<Password>me</Password>
</Data>
<Data>
<Name>Owen</Name>
<Password>oo</Password>
</Data>
<Data>
<Name>Rooney</Name>
<Password>rr</Password>
</Data>
<Data>
<Name>Beckham</Name>
<Password>bb</Password>
</Data>
</Names>
//

Now can anyone demostrate how to add, delete and edit any nodes.
14 years ago
is it possible to include a JFframe in a jsp page
for some client side operations?
15 years ago
JSP
i used this code :
////////////////////
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
public class ImmutableImageFromFile extends MIDlet implements CommandListener
{
private Display display;
private Form fmMain;
private Command cmExit;
public ImmutableImageFromFile()
{
display = Display.getDisplay(this);
cmExit = new Command("Exit", Command.EXIT, 0);
fmMain = new Form("");
fmMain.addCommand(cmExit);
fmMain.setCommandListener(this);


try
{
Image im = Image.createImage("1.jpg");
fmMain.append(new ImageItem("asd", im,ImageItem.LAYOUT_DEFAULT, "asdf"));
display.setCurrent(fmMain);
}
catch (java.io.IOException e)
{
e.printStackTrace();
}
}
public void startApp()
{
display.setCurrent(fmMain);
}
public void pauseApp()
{
}
public void destroyApp(boolean unconditional)
{
}


public void commandAction(Command c, Displayable s)
{
if (c == cmExit)
{
destroyApp(false);
notifyDestroyed();
}
}
}
\\\\\\\\\\\\\\\

on running it i got this exception :
///////////////
java.io.IOException
at javax.microedition.lcdui.ImmutableImage.getImageFromStream(+15)
at javax.microedition.lcdui.ImmutableImage.<init>(+20)
at javax.microedition.lcdui.Image.createImage(+8)
at ImmutableImageFromFile.<init>(+75)
at java.lang.Class.runCustomCode(+0)
at com.sun.midp.midlet.MIDletState.createMIDlet(+19)
at com.sun.midp.midlet.Selector.run(+22)
////////////////

What does that mean?
15 years ago
I am a fan of headfirst book series.
I love Headfirst Java and Servlets and JSP.
I wish if there were a book, "Headfirst J2me".

Which is the best e-book for J2me?
I wanna build a thorough base of it.
15 years ago
I tried netbeans and Eclipse for developing GUI apps.
But now I am fed up with netbeans.
And Eclipse really rocks.

I need to add visual editor capability(SWING).
What should i do?
Can anyone give me direct link to plugins?
I am creating a web app using JSP to solve math equations.
Can anybody provide me with some equation like :
(a+b)2 = a2+2ab+b2

or finding volume, area of solids.
15 years ago
how to connect jsp to sql server 2005 without using any dsn or anything of the sort?
15 years ago
JSP
i am new to JSP.
I dont know what's wrong with the code.
First time when we load the page it says:
"This page has been Visited 1 times"
next time also it says the same.
from third time onwards it work.
What is that?

<HTML>
<%! int i =0; %>
<%

i=i+1;
out.println("This page has been Visited "+i+" times");

%>

</HTML>
15 years ago
JSP
i am writing an application to find duplicate files which are
existing in same or different names.

How can i compare files?

Checksum or something like that?
15 years ago
I want to access ports like com1,com2 etc
and release the handle any application has on it.

I downloaded javax.comm Api

Now How can I code it ?
15 years ago