sailesh sirari

Greenhorn
+ Follow
since Aug 16, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by sailesh sirari

hi


Class.forName("sun.jdbc.odbc.JDbcOdbcDriver");


this line should be

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

be careful for typos as it will not give error

Cheers!

Sailesh
hi,

i think u have to create a custom item as elipse

and then place image there

guess..
19 years ago
hi


u can use timertask | timer

after 5 seconds

just set the text or label to ""
19 years ago
Hi,

Implement an interface which does nothing but adds a method to call

display,

and implement it in your canvas class

and when u make a obj of ur class(canvas)

call this method passing display from midlet


import javax.microedition.lcdui.Display;


public interface DisplayInterface
{
public void createDisplay(Display display);
}

now in your midlet when u passing control to canvas

call this method
19 years ago
hi,


use

TextField txt=new TextField("label","text",200,TextField.ANY);

txt.setPreferredSize(-1,200);
19 years ago
Hi,


Simply use

txt.setPreferredSize(-1,200);
where txt is Textbox initialised first!
19 years ago
Hi,

if your code is working fine on emulator i think

u should call that connection on seperate thread and put a timer also if

possible ,

try to call the connection inside run() or on a seperate class then make a

thread of that class inside your event or whatever logic u have

try this thread concept and see if it helps.
19 years ago
Hi,


i think you haven't used the way of sending request

try adding

hc.setRequestMethod(HttpConnection.POST)

or whatever your servlet accepts.

19 years ago
Hi,


You can simply give the size on textField constuctor

TextField txt=new TextField("label","text",50,TextField.ANY);
keep changing that size until it satisfies ur needs.
19 years ago