Sandeep Ramachandran

Greenhorn
+ Follow
since Jun 30, 2008
Merit badge: grant badges
For More
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 Sandeep Ramachandran

Hi all,

I am programming a Swing application. The entire gui of the application is divided into 9 equal sized panels arranged in 3 rows and 3 columns. Now some panels have tabbed panes and some have some buttons (JButtons). Now the screen resolution of my laptop is 1280x800 pixels. I am using layout managers to layout these panels and the objects inside them. I am using borderlayout and flowlayout predominantly. Now under the above mentioned screen layout everything is fine to look. but when I connect my laptop to a projector to show my GUI to others in a conference, the projector has a lower resolution, so the entire layout is mixed up. In particular the tabbed panes and buttons. I have given some lengthy names as heading of the tabbed panes and so instead of displaying linearly ( one after other ), they overlap. The button are of different sizes and are put in a panel with flowlayout. So the buttons in the right most side of the panel disappear under low resolution. What should I do. I dont mind if the names of the buttons and tabbed panes ends with "......", for example - I have a button called "Create/Modify". The button totally disappears under low resolution.
15 years ago
Hi Ben and Ilari,

Thank you for your suggestions. Ilari I have downloaded log4j. Thank you. Meanwhile I have tried Ben's suggestion and it works. Thank you.

Sandeep
15 years ago
Hi.
I am running a servlet on tomcat 6. I want to redirect System.out.println and System.out.err messages from the tomcat console into a file in the "webapps" folder. This is coz i am running my servlet on my school's tomcat server where I have access to only the webapps folder. I have tomcat installed on my laptop and when i redirect the console output using System.setOut and System.setErr into a text file, the text file is generated in the bin folder. Hence I gave a relative path to webapps folder from bin folder. This works fine on the tomcat on my laptop but does not work on my school's server. I am not able to view any other folder than the webapps due to security restrictions on the school server. Please help me with a work around

Thanks in advance

Sandeep
15 years ago