For Programmers: Free Programming Magazines  


Home > Archive > Java Help > July 2006 > help with image diplayed gui









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author help with image diplayed gui
ben.jenson@gmail.com

2006-07-23, 10:01 pm


hi wondered if anyone can help i want to create a dummy gui which looks

like a media player eg transition window buttons etc and have created
them as jpeg can someone help me in understanding how to inport them
into jframes etc and place there positions on the grid,
can gridbag place static images.is there any tutorials to do?

Reply =BB

Andrew Thompson

2006-07-24, 4:00 am

ben.jenson@gmail.com wrote:
> hi wondered if anyone can help


Please capitalise the first word of each sentence.
(that would be a good place to stop for one sentence)

> i want to create a dummy gui


(and that would be another good place to stop for one sentence..)

What do you mean by 'dummy' GUI?

That usually indicates to me that the buttons
and lists and menus do not do anything.
Is that what you mean?

> which looks like a media player


The JMF supplies a media player that looks like a media
player, but it does things like play the media as well (so
it is not a 'dummy' GUI).

>=2E.eg transition window


What is a 'transition window'? Can you provide an URL
to a screenshot?

>=2E..buttons etc and have created
> them as jpeg can someone help me in understanding how to inport them
> into jframes etc and place there positions on the grid,
> can gridbag place static images.


Yes, wrap them in any image aware Component (such as a JLabel),
and GridBagLayout can place them in any variety of arrangements,
though usually a nested layout works better for beginners, especially
as few more experienced programmers bother with GBL, so are not
likely to help debug them.

>=2E.is there any tutorials to do?


Suns' AWT layouts tutorial should be a good start
for arranging the components.
<http://java.sun.com/developer/techn...tMgr/index.htm=
l>

Unfortunately Sun's search is so slow I couldn't be
bothered tracking down further layout links, but check
the com.lang.java.gui FAQ for some excellent tutorial
links.

> Reply =BB


Huh?

One final thing, please refrain from multi-posting,
likewise splitting threads across multiple titles.
<http://groups.google.com/groups/pro...ACVGsrnbraOaG5=
2_JelsL6xOPANdqfI6prRsqjc7uCt1A>

If you'd like to chase up a thread that seems to have
been missed - wait at least 72 hours before posting
a follow-up to the *same* title on the *same* group.

HTH

Andrew T.

Ian Wilson

2006-07-24, 8:00 am

ben.jenson@gmail.com wrote:
> hi wondered if anyone can help i want to create a dummy gui which looks
>
> like a media player eg transition window buttons etc and have created
> them as jpeg can someone help me in understanding how to inport them
> into jframes etc and place there positions on the grid,
> can gridbag place static images.is there any tutorials to do?
>


Please don't multipost, If you MUST post to multiple newsgroups,
crosspost instead of multiposting so that responses show up in both
newsgroups and responders can see that your question has already been
answered.

http://www.cs.tut.fi/~jkorpela/usenet/xpost.html

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com