File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes java swing on solaris2.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "java swing on solaris2.5" Watch "java swing on solaris2.5" New topic
Author

java swing on solaris2.5

sharan basu
Greenhorn

Joined: Feb 05, 2001
Posts: 12
hi,
we have some work on solaris2.5 os.wants to know whether i
can us java swing on solaris2.5 version os or not? plz give
me the updates if yes.thanx in advance.

regards,
sharan
Thomas Hansen
Greenhorn

Joined: Jul 30, 2000
Posts: 14
Hi Sharan,
I don't think you will have any problems with developing Swing applications under Solaris 2.5, there are however some minor bugs in the Solaris version of the JDK. None fatal to my knowledge only annoying
I think you will need to check which patches you have installed before you try to install the JDK. 'patchadd -p' gives me this information on Solaris 2.7 here, might be different for your system. If that doesn't work try 'man -k patch' and see if you find anything interesting. The list of which patches you need to have installed should be in a readme file on the Solaris tarball of the JDK.
Good luck!
Thomas
wch wyd
Greenhorn

Joined: Jul 25, 2001
Posts: 2
I am trying to use VisualCafe to design Java GUI for my projects. Can this kind of application file which automatically created by VisualCafe without layout manager (layout = null) be run under Sun Unix box? If not, How to set the layout manager and execute the file under Unix?
Thanks.
Thomas Hansen
Greenhorn

Joined: Jul 30, 2000
Posts: 14
Hi Wch Wyd (hmmm is that a real name?),
If you mean what I think you mean, namely that you want to run a Java application made in Visual Cafe, where you did not specify a LayoutManager under Solaris. Then I don't think you will have any problems except those already in the Java virtual machine for Solaris for whatever version the Solaris box is running. If you are using Swing then you might need to upgrade or install the Swing extension as Ultra 5 workstations tend to be shipped with Java pre-installed. This _might_ mean JDK 1.1, hopefully not...
If I remember right, not specifying a LayoutManager gives you FlowLayout as a default. I haven't used Visual Cafe so I don't know any specfic on that tool, but I suppose it will still give you FlowLayout. After what I heard Visual Cafe also lets you compile to Native Win32, if you did that things won't run on a Sun box...
BTW: if someone is in need of a free Java IDE then Forte for Java Community Edition 3.0 is available from www.sun.com. I haven't had time ot use it as I also try to learn Codewarrior from MetroWerks (not free), but it seems fairly good except it uses quite obscene amounts of mem on my Sun workstation, PC is a little better.
Regards,
Thomas
wch wyd
Greenhorn

Joined: Jul 25, 2001
Posts: 2
Hi, Thomas:
Acutely when I drew those kind of components in a frame under VisualCafe, I have to set the layout=none (the tool also give you any other choice, but it looks not working well after setting to other layout). I heard that this Java file automatically create by tool (layout is null) may not run well under Unix, even I have tried it was OK under NT. Do you please give me any idea and suggestion on this?
Regards,
wch
Thomas Hansen
Greenhorn

Joined: Jul 30, 2000
Posts: 14
Only one way to find out for real...
Email me all the files I need to run your program and I'll check how it works under Solaris and Linux.
Regards,
Thomas
(email address: thoh@ifi.uio.no)
sharan basu
Greenhorn

Joined: Feb 05, 2001
Posts: 12
hi Thomas,
thanx for tips,will try & if any issues let u know.
regards,
sharan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java swing on solaris2.5
 
Similar Threads
send email
Java Page Size
Java seems like a technology no one wants to use
Beginner Ebooks and sites for Swing
visual programming concepts