Advertisement

[java] Swig in Windows applications?

Started by July 01, 2000 12:23 PM
20 comments, last by ARCHIGAMER 24 years, 5 months ago
For those of you that use Forte for Java by Sun how did they get swig type buttons in a windows application did they make a port or what?
I wish there was a button on my monitor to turn up the intellegince. Theres a button called 'brightness' but it doesn't work
What?
Advertisement
I''ve never seen Forte for Java running, but my guess is that you have only two choices:

1. The program was written in Java. Only you can tell. I think it''s quite unlikely, but who know ?

2. They are using a Swing-like look-and-feel. The Win32 API features that cool WS_OWNERDRAW message that lets you draw windows (that includes buttons) the way you want. They''ve probably used this, because I don''t see much point in porting the whole component.

So, how did you like my two cents ?
~Lamtd
---All you base are belong to us !
I doubt it is in java cause it doesnt run in a browser and its not dos prompt so i guess its number 2
I wish there was a button on my monitor to turn up the intellegince. Theres a button called 'brightness' but it doesn't work
java programs don''t have to run in browsers or DOS prompts
I use Forte and it IS written in Java. I downloaded the .class file and installed it (JDK required, of course). I never tried it in Linux though, cause I don''t have enough memory to run it smoothly.

I run it in the default (SWING) L&F, so I can''t quite understand your question....
Advertisement
I use Forte and it IS written in Java. I downloaded the .class file and installed it (JDK required, of course). I never tried it in Linux though, cause I don''t have enough memory to run it smoothly.

I run it in the default (SWING) L&F, so I can''t quite understand your question....
What is a "swig type button"?

Forte is definitely written in Java.

Archigamer, Java APPLETS run in web browsers, but Java APPLICATIONS run outside the browser. When you run Forte, you run a small batch file that runs the java application.

I am a Jedi, like my father before me

Forte *is* a Swing application written in Java, and a serious resource hog. If you don''t have at least 128M it will wear on your last nerve. I have 512M RAM in a 700Mhz box here at work, so little piggy Forte gets all the ram and CPU it wants... I do think it is an excellent IDE, and I use it (almost)exclusively. It is nice to be able to switch to a different OS and still code in the same IDE. I''ve also used the open API to make some *twisted* IDE extensions .

As for not in browser, no DOS prompt, check into javaw.exe. Look in your your task manager and you''ll see javaw in there. I''m sure Sun (well, NetBeans, I suppose) just calls javaw from the native executable. Under most circumstances, if you run java.exe, you''ll get a DOS prompt, and if you run javaw.exe you won''t. javaw.exe is good for production code delivered to customers, NT services, etc... java.exe is useful for old school println/readln programs and debugging your app when its dumping stack traces left and right(hopefully someone elses app, not your own ).

ManaSink
whoa! cool I didnt know that. Thanks guys.
I wish there was a button on my monitor to turn up the intellegince. Theres a button called 'brightness' but it doesn't work

This topic is closed to new replies.

Advertisement