11-03-2008
Perhaps my newbie status is showing through a bit much and I'm not explaining things correctly. The end user of my application is on a Windows XP pc. They connect to our UNIX machines via XManager, which runs X applications. We use xterm (/usr/bin/X11/xterm).
I am wanting to display a form to the user that will allow them to select certain files and then do some validation. The files are on the UNIX file-system, which they are accessing via xterm. When I try to start a java program that uses Swing, as soon as it tries to display the JFrame (I've also tried with AWT Frames), all open XManager xterm windows are disabled and lose borders, buttons, etc.
I've researched and found bits and pieces of people grumbling about the same thing, but no solution. It may be that Swing/AWT is just not compatible with our interface with UNIX. But I don't know what else to try.
3 More Discussions You Might Find Interesting
1. Programming
I have a batch programme which will load the Spreadsheet into database..
When the DISPLAY is set and X11 window server is running, there is no issue in reading the spreadsheet and loading into database without lauching UI.
But if the display is not set, then there is an issue... Any ideas... (3 Replies)
Discussion started by: shafi2all
3 Replies
2. Programming
Hi All,
I have created a simple swing application, that has 3 textfields, and 2 buttons. When I try to run the code, following error comes and GUI hangs.
2011-01-21 22:32:39.905 java : Enabled
2011-01-21 22:32:39.908 java : Setting timeout for SWT to 0.100000
2011-01-21 22:32:40.589 java ***... (0 Replies)
Discussion started by: akash.mahakode
0 Replies
3. Programming
Hi All,
I am new to java swing.
I want to develop a electronic schematic editor in java swing. An schematic editor is one where you can put all electronic components and join them to make a circuit. Its like drawing your circuit on paper. Here the paper would be like graph paper or grid which... (1 Reply)
Discussion started by: diehard
1 Replies
LEARN ABOUT DEBIAN
datetime::format::epoch::unix
DateTime::Format::Epoch::Unix(3pm) User Contributed Perl Documentation DateTime::Format::Epoch::Unix(3pm)
NAME
DateTime::Format::Epoch::Unix - Convert DateTimes to/from Unix epoch seconds
SYNOPSIS
use DateTime::Format::Epoch::Unix;
my $dt = DateTime::Format::Epoch::Unix->parse_datetime( 1051488000 );
# 2003-04-28T00:00:00
DateTime::Format::Epoch::Unix->format_datetime($dt);
# 1051488000
my $formatter = DateTime::Format::Epoch::Unix->new();
my $dt2 = $formatter->parse_datetime( 1051488000 );
$formatter->format_datetime($dt2);
DESCRIPTION
This module can convert a DateTime object (or any object that can be converted to a DateTime object) to the number of seconds since the
Unix epoch.
METHODS
Most of the methods are the same as those in DateTime::Format::Epoch. The only difference is the constructor.
o new()
Constructor of the formatter/parser object. It has no parameters.
SUPPORT
Support for this module is provided via the datetime@perl.org email list. See http://lists.perl.org/ for more details.
AUTHOR
Eugene van der Pijll <pijll@gmx.net>
COPYRIGHT
Copyright (c) 2003 Eugene van der Pijll. All rights reserved. This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
SEE ALSO
DateTime
datetime@perl.org mailing list
perl v5.10.1 2007-12-03 DateTime::Format::Epoch::Unix(3pm)