This week's book giveaway is in the General Computing forum.
We're giving away four copies of Learning Regular Expressions and have Ben Forta on-line!
See this thread for details.
Win a copy of Learning Regular Expressions this week in the General Computing forum!

Subrata Saha

Greenhorn
+ Follow
since Jun 10, 2005
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 Subrata Saha

Thanks I will try that.
8 years ago

Karthik Shiraly wrote:Yes. Write your application classes and build them. Apply an aspect which advices System.out.println() at method entries and exits. You can decide which classes need it by writing an appropriate pointcut.

So if your app call is something like
A.meth1
B.meth2
C.meth3,

you'll get a trace like
Entering A.meth1
Entering B.meth2
Entering C.meth3
Exiting C.meth3
Exiting B.meth2
Exiting A.meth1

on the 'console' of the iPad.

Is this what you're looking for?



One more thing to remember is that i dont know in advance how many class and api it will go through.
So as you said
A.meth1
B.meth2
C.meth3
So i dont know from advance that it has 3 java class to finish the api call once started.
8 years ago

Karthik Shiraly wrote:Yes. Write your application classes and build them. Apply an aspect which advices System.out.println() at method entries and exits. You can decide which classes need it by writing an appropriate pointcut.

So if your app call is something like
A.meth1
B.meth2
C.meth3,

you'll get a trace like
Entering A.meth1
Entering B.meth2
Entering C.meth3
Exiting C.meth3
Exiting B.meth2
Exiting A.meth1

on the 'console' of the iPad.

Is this what you're looking for?


Exactly , this wat i want . But let me google how to write aspect to do this. FYI my jre 1.3 as the device i am working on have memory constraints so we are using java 1.3 .

Thanks again for your help.
Bye the way if you have small example to do the above Please send me @ saha.subrata@gmail.com
8 years ago
I am using Eclipse for 6 years,its quite easy to debug there. But what if your application runs only on suppose Ipad.

so you have one application and that has suppose 15 java class and when press one submit button it goes through all 15 claases
and finally does something.

My question is ,
Is it possible to get the call stack for all classes (and what api it went through)???
8 years ago
Hi Guys,

I have one application on which debugging it little difficult and every i debug i need to put System.out.println to get the call stack.

So is it possible during one operation what all java api in what all java classes it is passing through ???

e.g
I have a Test class which has main method() and it goes Via Class A ,B, C, D, E and finally to F , In this duration i want to find out
all the api it passed through.

Help would be greatly appreciated.

--Subrata Saha

8 years ago

Rob Prime wrote:Define "installed programs".
Do you mean something like Window's Add/Remove Programs? Then you'll have to go into the registry. Use Google to find libraries for accessing the registry and which registry keys to use.



Yeah i want to find out if some has the library for finding all the display name for installed programs from the registry.
8 years ago
It will great if some body has solved this problem finding all installed
program in windows box , it would be great to know.

--Subrata Saha
8 years ago
Hi,

I want to give the user a browse button which help user to open one file from his system. So i was wondering is there
any built in control is there .

Or sadly we have to combine textbox and button to do that ...

--Subrata
8 years ago

Rob Prime wrote:

Subrata Saha wrote:Have any body worked on Swing application framework ??


Most of this sub forum is about Swing, so I would say yes.

This may be a good tutorial for you to start with.



I am talking about Swing Application Framework (JSR 296) not the simple swing
8 years ago
Have any body worked on Swing application framework ?? which gives the MVC model for client side Java program
(u can have context variable accross the app etc,callback,lauch,background job etc....)
8 years ago
You guys are talking keeping SWing application Frame work in mind right ??

We do show(Login()) from launch api of the main application file of the project. so first time we will do show Login and then is password matches as shown by
Vivek .

8 years ago
Hi ,
Any used Swing application framework ??

I have the mars rover view application from SAF to understand how it works . But struggling to find

Can we have 2 view from the single application ??

Example: Suppose i have 2 view Login and Profile . so the application will launch the Login and then on correct password
it will switch to Profile screen and Login Screen is gone {dont know whether we can hide it or destroy the view}

Any help would be greatly appreciated

--Subrata Saha
8 years ago
I am using JBoss integrated with Tomcat
12 years ago
JSP
Hi All,
My problem is ,when i deploy my application and for the first time i click on any jsp it takes time (as we know it get converted to servlet) , I want a solution so that after deploying i will run some tool which will compile the jsp so that it dont take that much time. any idea how can i achieve this??

-- Thanks in advance
subrata
12 years ago
JSP