473,569 Members | 2,691 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems in displaying swing Frames on some windows 2000 machines

DL
Hello,

I am teaching a java course. When some of my students tried
to run a very simple java program that displays a JFrame, it
appeared that even though the program was compiled OK
on all machines in the lab (running windows 2000), a couple of
the machines did not display the Frame at all.

There wasn't any error message printed in the console window
where we started the program. They just didn't display the frame.
(even though most of the machines running the same program
did display the frame correctly).

Do you have any suggestion in how to trace and resolve such
a problem.

Thank you,

D.
Jul 17 '05 #1
2 1673
Liz
jdb

"DL" <di******@cs.um b.edu> wrote in message
news:4b******** *************** ***@posting.goo gle.com...
Hello,

I am teaching a java course. When some of my students tried
to run a very simple java program that displays a JFrame, it
appeared that even though the program was compiled OK
on all machines in the lab (running windows 2000), a couple of
the machines did not display the Frame at all.

There wasn't any error message printed in the console window
where we started the program. They just didn't display the frame.
(even though most of the machines running the same program
did display the frame correctly).

Do you have any suggestion in how to trace and resolve such
a problem.

Thank you,

D.

Jul 17 '05 #2
DL wrote:
Hello,

I am teaching a java course. When some of my students tried
to run a very simple java program that displays a JFrame, it
appeared that even though the program was compiled OK
on all machines in the lab (running windows 2000), a couple of
the machines did not display the Frame at all.

There wasn't any error message printed in the console window
where we started the program. They just didn't display the frame.
(even though most of the machines running the same program
did display the frame correctly).

Do you have any suggestion in how to trace and resolve such
a problem.


Hmm, the classic "works on my machine" problem.

First, determine that the problem does not lie with the code created on
those machines. Copy the class files from a known working machine and
attempt to run them.

Next, the issue is likely environmental. Use the "env" command to
determine the environments on each machine. Pay attention in particular
to the PATH and the CLASSPATH. Also, determine which version of java is
in use on each machine. Try giving the full path to java.exe on the
machines that do not work.

Failing that, start printing out things within the code, or if you
prefer, use a debugger. Unfortunately the debugger will require
enviromental changes that may mask the issue.

Ray
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1348
by: Gernot Saborowski | last post by:
To all IIS/ASP-professionals, we just upgraded from one machine to another and are experiencing some strange date time number problems. Both systems have been set up like this: - MS Windows 2000 Server SP 3 english version - IIS 5 - MS SQL Server 2000 SP 3 english version - Regional options are both set to English US
0
954
by: VJ | last post by:
I am having a package of VB.NET windows based application built using VS.NET 2003(*.msi file). The installation works fine on every 2000 Pro, XP Pro and 98 machines in our company, with exception of one Windows 2000 Pro machine. In the trouble some WIN2K machine, the installer runs fine with no errors. After I am done installing and I...
6
1435
by: developer24 | last post by:
Hello, I have written a 3D game engine on a win98SE platform, I get about 30 frames per second. But on an winXP station I only get 3-1 frames perscond, it is very choppy. I like to use OpenGL. Is there a solution to this problem?
16
2377
by: JCauble | last post by:
We have a large Asp.net application that is currently crashing our production servers. What we are seeing is the aspnet_wp eat up a bunch of memory and then stop unexpectedly. Does not recycle. Example: After about 5 hours with a concurrent user base of about 150 users the application raises the aspnet_wp memory usage by almost 500MB. If...
4
3509
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the...
0
3035
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the...
3
1737
by: teddysnips | last post by:
SCENARIO: Application originally developed in Access 97 several years ago. Worked with no problem until recent change from Novell to Active Directory. PROBLEM: Application was converted from Access 97 to Access 2003.
3
3002
by: hellsgate | last post by:
Hey guys, I'm using MSCAL.Calendar.7 to allow the user to select a date and time in an Access application which is used across a network. The application uses Access 2003 as the frontend with SQLServer 2000 as the backend. On most machines (including the one I am developing on) the months and days are correctly displayed in English. However,...
0
1528
by: ianwr | last post by:
Hi, I was wondering if anyone could shed any light on performance problems we are having with sql 2005. We have 3 boxes which are all 64bit itanium boxes (4 CPU) connected to a 145 spindle SAN using a 2gb FC card. All 3 servers also have identical builds of windows 2003 sp1. The performance on the 2005 boxes has always seemed to be worse...
0
7612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8119
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7668
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6281
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5509
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5218
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3637
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.