Search found 90 matches

by karunaMaitri
Sun 14. Feb 2010, 09:45
Forum: Programming Help
Topic: Changing the properties of ViewerApp and JRViewer
Replies: 26
Views: 5315

Re: Changing the properties of ViewerApp and JRViewer

Thanks for the code and all the suggestions. I did not put the code in my previous message because I thought my explanation was sufficient. Sorry about that. In future I will try to put "minimized" code as you suggested. As to the "exception" I posted, the problem is resolved now. It was due to Grou...
by karunaMaitri
Thu 11. Feb 2010, 10:16
Forum: Programming Help
Topic: Changing the properties of ViewerApp and JRViewer
Replies: 26
Views: 5315

Re: Changing the properties of ViewerApp and JRViewer

Hello, I have a new problem related to JRViewer JRootPane object. I need to embed "it" (or its contents) into a container/component such as a JPanel. Then I need to add the JPanel to my JInternalFrame. One example of this gui construction is a panel that has several subpanels in it, and JRViewer bec...
by karunaMaitri
Sat 6. Feb 2010, 07:05
Forum: Programming Help
Topic: Changing the properties of ViewerApp and JRViewer
Replies: 26
Views: 5315

Re: Changing the properties of ViewerApp and JRViewer

Thank you very much! It is working now!

Prabhakar
by karunaMaitri
Mon 25. Jan 2010, 20:25
Forum: Programming Help
Topic: Changing the properties of ViewerApp and JRViewer
Replies: 26
Views: 5315

Re: Changing the properties of ViewerApp and JRViewer

Hi,

Could you let me know if there is some development with respect to the question I raised.

Thank you!
Karuna
by karunaMaitri
Mon 18. Jan 2010, 06:54
Forum: Programming Help
Topic: Changing the properties of ViewerApp and JRViewer
Replies: 26
Views: 5315

Re: Changing the properties of ViewerApp and JRViewer

I did one more experiment and proves my point. I took a very complex program (See Topley's Core JFC, 2nd ed, GraphicsDemo 3, Chapter 13). I created JRootPane from it and added it to JInternalFrames (see code in my previous post). It works! I could create several instances of JInternalFrame objects w...
by karunaMaitri
Mon 18. Jan 2010, 05:30
Forum: Programming Help
Topic: Changing the properties of ViewerApp and JRViewer
Replies: 26
Views: 5315

Re: Changing the properties of ViewerApp and JRViewer

Thanks Sechel, for the code. I am sorry for delayed reply as I have been trying to explore various scenarios in which your code works. My conclusion, so far, is that if we add a few other things to your code, your code does not work. The things I need to add are event listeners and a menu bar. These...
by karunaMaitri
Tue 12. Jan 2010, 08:11
Forum: Programming Help
Topic: Changing the properties of ViewerApp and JRViewer
Replies: 26
Views: 5315

Re: Changing the properties of ViewerApp and JRViewer

Thanks Sechel for pointing out how to use startup().

I made the correction and still I do not have success making it work.

Karuna.
by karunaMaitri
Tue 12. Jan 2010, 00:26
Forum: Programming Help
Topic: Changing the properties of ViewerApp and JRViewer
Replies: 26
Views: 5315

Re: Changing the properties of ViewerApp and JRViewer

Hi Sechel, Thanks for the post. I tried the method you suggested - please see my second post in this "topic" ("thread"). I tried it again today just to make sure that I got it right. It is not working. I attach below the specific code I used. [code] JRViewer v = new JRViewer(); v.setContent(world); ...
by karunaMaitri
Mon 11. Jan 2010, 06:04
Forum: Programming Help
Topic: Changing the properties of ViewerApp and JRViewer
Replies: 26
Views: 5315

Re: Changing the properties of ViewerApp and JRViewer

Thanks Charles, for offering to send an email to the author of jrworkspace. It is very helpful.

I have looked at the example ContentToolsExample. It is very good. Yes, it convinced me that RotateTool can be enabled/disabled without
changing the JRViewer code.

Thanks Again!
Karuna
by karunaMaitri
Sun 10. Jan 2010, 09:23
Forum: Programming Help
Topic: Changing the properties of ViewerApp and JRViewer
Replies: 26
Views: 5315

Re: Changing the properties of ViewerApp and JRViewer

Hi Charles, In response to your suggestions, I will try to summarize my experiences. It has three parts: goals, problems and modifications, organized into three different paragraphs. First let me tell you my objectives. I need to get the jReality suplied panel to be embedded in a JInternalFrame obje...
by karunaMaitri
Sat 9. Jan 2010, 05:12
Forum: Programming Help
Topic: Changing the properties of ViewerApp and JRViewer
Replies: 26
Views: 5315

Re: Changing the properties of ViewerApp and JRViewer

Thanks! I have attached below the modified SimpleController and JRViewer classes. I made modifications as I see usable for externally supplied JFrame and JInternalFrame objects. I do not have success making them work. But they should tell you what I have been trying to do. I am not in favor of modif...
by karunaMaitri
Thu 7. Jan 2010, 09:33
Forum: Programming Help
Topic: Changing the properties of ViewerApp and JRViewer
Replies: 26
Views: 5315

Re: Changing the properties of ViewerApp and JRViewer

Thanks Charles! You are right, there are two issues. Regarding the first issue, there are two states in which my application can be used. The first state allows the user to experiment with the geometry without modifying it. In the second state, the user modifies the geometry. The rotation tool seems...
by karunaMaitri
Thu 7. Jan 2010, 03:37
Forum: Programming Help
Topic: World and Object Coordinates
Replies: 3
Views: 1397

Re: World and Object Coordinates

Thanks Charles! It worked and it is very helpful! Thanks also for pointing to me about labels. I will attend to fixing them soon. I need to extend the method you suggested for surfaces. I am guessing that I need to define a cube in place of the rectangle to get geometric coordinates. I will test it ...
by karunaMaitri
Mon 28. Dec 2009, 07:06
Forum: Programming Help
Topic: World and Object Coordinates
Replies: 3
Views: 1397

World and Object Coordinates

Hello, I need help getting the object coordinates during an interaction. The setting is as follows: I have a geometric object along with coordinate system displayed. I attach a tool so that the user can click at points outside the geometric object. The geometric object gets reshaped using these poin...
by karunaMaitri
Fri 25. Dec 2009, 04:16
Forum: Programming Help
Topic: Changing the properties of ViewerApp and JRViewer
Replies: 26
Views: 5315

Re: Changing the properties of ViewerApp and JRViewer

I have made some progress in making JRViewer work for an external JFrame. But it is giving an error when I use the same code for a JInternalFrame. Here is the code I used for JIntenralFrame. SceneGraphComponent sgc = Primitives.wireframeSphere(); JRViewer v = new JRViewer(); v.setContent(sgc); v.add...