Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Java API SwingGraphicsPanel
Posted Aug 13, 2013, 9:38 a.m. EDT Results & Visualization Version 4.3a 0 Replies
Please login with a confirmed email address before reporting spam
i am currently working on a GUI for the COMSOL results using the Java API.
Now i have a very annoying problem.
I use the class SwingGraphicsPanel to display the results but sometimes it messes up the scale.
Whenever I change from a PlotGroup1D to a PlotGroup2D i get a very small picture or no picture at all (to small to display).
I use the same Object of SwingGraphicsPanel to display those PlotGroups but i change the view like this:
myModel.result(resultTag).set("window", "window1");
myModel.result(resultTag).run();
However if i do it the other way round, change from a PlotGroup2D to a PlotGroup1D, it works perfectly.
I would appreciate any helpful comment on the topic.
Best regards
Raimund
Hello Raimund Reppich
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.