Fortran 90 and GUIs
  Home FAQ Contact Sign in
comp.lang.fortran only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.fortran Profile…
 Up
Fortran 90 and GUIs         


Author: brady.m.adams
Date: Jun 27, 2008 09:51

I have a Fortran program that I would like to implement a GUI with. In
doing a little reading around the net it seems that I will probably
want to call a different programming language such as C++, Java, or
Python. Starting out the GUI will be really simple: something like
"You are running blah blah blah. Continue?" --- with yes and no
buttons. If things go smoothly the GUI could get considerably more
complex.

My question: is this feasible? If so what would be the best language
to do this with? I know nothing about C, C++, or Java, but I know a
little Python. Or is there something else that would be better? Are
there any good books or online references on interfacing two different
languages (one of which being Fortran)?

Thank you!
8 Comments
Re: Fortran 90 and GUIs         


Author: GaryScott
Date: Jun 27, 2008 10:44

On Jun 27, 11:51 am, brady.m.ad...@gmail.com wrote:
> I have a Fortran program that I would like to implement a GUI with. In
> doing a little reading around the net it seems that I will probably
> want to call a different programming language such as C++, Java, or
> Python. Starting out the GUI will be really simple: something like
> "You are running blah blah blah. Continue?" --- with yes and no
> buttons. If things go smoothly the GUI could get considerably more
> complex.
>
> My question: is this feasible? If so what would be the best language
> to do this with? I know nothing about C, C++, or Java, but I know a
> little Python. Or is there something else that would be better? Are
> there any good books or online references on interfacing two different
> languages (one of which being Fortran...
Show full article (1.17Kb)
no comments
Re: Fortran 90 and GUIs         


Author: Clive Page
Date: Jun 27, 2008 10:49

In message
<0f7a7631-19b4-42ce-94c4-6f750aa92e17@a9g2000prl.googlegroups.com>,
brady.m.adams@gmail.com writes
>I have a Fortran program that I would like to implement a GUI with. In
>doing a little reading around the net it seems that I will probably
>want to call a different programming language such as C++, Java, or
>Python. Starting out the GUI will be really simple: something like
>"You are running blah blah blah. Continue?" --- with yes and no
>buttons. If things go smoothly the GUI could get considerably more
>complex.
>
>My question: is this feasible? If so what would be the best language
>to do this with? I know nothing about C, C++, or Java, but I know a
>little Python. Or is there something else that would be better? Are
>there any good books or online references on interfacing...
Show full article (2.01Kb)
no comments
Re: Fortran 90 and GUIs         


Author: Bil Kleb
Date: Jun 27, 2008 14:20

Clive Page wrote:
> brady...ams@gmail.com writes:
>> I have a Fortran program that I would like to implement a GUI with.
>
> If you want to generate a really complex and full-featured GUI then I
> suspect it might be better to use something like Python or Java to
> create the front-end.

Consider also HTML (and as you like, add in CSS and javascript).

Regards,
no comments
Re: Fortran 90 and GUIs         


Author: user1
Date: Jun 27, 2008 19:46

GaryScott wrote:
> On Jun 27, 11:51 am, brady.m.ad...@gmail.com wrote:
>> I have a Fortran program that I would like to implement a GUI with. In
>> doing a little reading around the net it seems that I will probably
>> want to call a different programming language such as C++, Java, or
>> Python. Starting out the GUI will be really simple: something like
>> "You are running blah blah blah. Continue?" --- with yes and no
>> buttons. If things go smoothly the GUI could get considerably more
>> complex.
>>
>> My question: is this feasible? If so what would be the best language
>> to do this with? I know nothing about C, C++, or Java, but I know a
>> little Python. Or is there something else that would be better? Are
>> there any good books or online references on interfacing two different
>> languages (one of which being Fortran)?
>>
>> Thank you!
>
> Naw, by far the best solution is to use one of the many GUI builders
> available for Fortran. There's even one semi-RAD tool. There are ...
Show full article (1.55Kb)
no comments
Re: Fortran 90 and GUIs         


Author: Gary Scott
Date: Jun 27, 2008 20:03

user1 wrote:
> GaryScott wrote:
>
>> On Jun 27, 11:51 am, brady.m.ad...@gmail.com wrote:
>>
>>> I have a Fortran program that I would like to implement a GUI with. In
>>> doing a little reading around the net it seems that I will probably
>>> want to call a different programming language such as C++, Java, or
>>> Python. Starting out the GUI will be really simple: something like
>>> "You are running blah blah blah. Continue?" --- with yes and no
>>> buttons. If things go smoothly the GUI could get considerably more
>>> complex.
>>>
>>> My question: is this feasible? If so what would be the best language
>>> to do this with? I know nothing about C, C++, or Java, but I know a
>>> little Python. Or is there something else that would be better? Are
>>> there any good books or online references on interfacing two different
>>> languages (one of which being Fortran)?
>>>
>>> Thank you! ...
Show full article (2.03Kb)
no comments
Re: Fortran 90 and GUIs         


Author: Mark Westwood
Date: Jun 30, 2008 02:15

Hi Brady

Well, I slapped a Java front-end on to an existing Fortran code. It
was either that or rewrite the Fortran into Java; commercial pressure
required one or the other. One of the problems I tackled is that Java
doesn't have a very flexible approach to integrating with 'foreign'
languages. There is the JNI (Java Native Interface) which is intended
for integration with 'legacy' code, as long as that code is written in
C or C++. My eventual solution was to first wrap the Fortran in C++,
then to integrate that with the Java. After a lot of head-scratching
I got it working on both Linux (64 bit, 32 bit, .so libraries) and
Windows (32 bit DLL).
Show full article (3.35Kb)
no comments
Re: Fortran 90 and GUIs         


Author: Arjen Markus
Date: Jun 30, 2008 02:54

On 27 jun, 18:51, brady.m.ad...@gmail.com wrote:
> I have a Fortran program that I would like to implement a GUI with. In
> doing a little reading around the net it seems that I will probably
> want to call a different programming language such as C++, Java, or
> Python. Starting out the GUI will be really simple: something like
> "You are running blah blah blah. Continue?" --- with yes and no
> buttons. If things go smoothly the GUI could get considerably more
> complex.
>
> My question: is this feasible? If so what would be the best language
> to do this with? I know nothing about C, C++, or Java, but I know a
> little Python. Or is there something else that would be better? Are
> there any good books or online references on interfacing two different
> languages (one of which being Fortran...
Show full article (1.46Kb)
no comments
Re: Fortran 90 and GUIs         


Author: Peter
Date: Jul 3, 2008 12:15

On Jun 27, 9:51 am, brady.m.ad...@gmail.com wrote:
> I have a Fortran program that I would like to implement a GUI with. In
> doing a little reading around the net it seems that I will probably
> want to call a different programming language such as C++, Java, or
> Python. Starting out the GUI will be really simple: something like
> "You are running blah blah blah. Continue?" --- with yes and no
> buttons. If things go smoothly the GUI could get considerably more
> complex.
>
> My question: is this feasible? If so what would be the best language
> to do this with? I know nothing about C, C++, or Java, but I know a
> little Python. Or is there something else that would be better? Are
> there any good books or online references on interfacing two different
> languages (one of which being Fortran...
Show full article (1.08Kb)
no comments