Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2006

Tip: Looking for answers? Try searching our database.

vijaya

Thread view: 
vijaya - 30 Oct 2006 04:12 GMT
How to get an Image from mysql database, and display it froma java
program?
Andrew Thompson - 30 Oct 2006 05:32 GMT
The title for this one was worse than the one you
multi-posted to c.l.j.gui.!

How many more of these messages are there?

Please refrain from multi-posting in future.

(X-post to c.l.j.p./g., w/ f-u to c.l.j.p. only)

Andrew T.
Daniel Pitts - 30 Oct 2006 21:04 GMT
> The title for this one was worse than the one you
> multi-posted to c.l.j.gui.!
[quoted text clipped - 6 lines]
>
> Andrew T.

Shouldn't this be marked OT?

Anyway, seeing these frequent (re)offenders of usenet etiquette makes
me want to know more about common courtesy.  At least the c.l.j.*
groups.  Is there a FAQ somewhere?
Oliver Wong - 30 Oct 2006 22:05 GMT
> Anyway, seeing these frequent (re)offenders of usenet etiquette makes
> me want to know more about common courtesy.  At least the c.l.j.*
> groups.  Is there a FAQ somewhere?

   The general newsgroup etiquette (which you can find by googling for
"newsgroup etiquette") applies here. In this case, Andrew was complaining
about multiposting, and about the poor choice for a subject line.

   As for c.l.j.* in particular, there's http://www.riters.com/JINX but it
looks like it's having some server problems right now (I get HTTP 500
errors). It's a wiki that some of the regulars in the c.l.j.* contribute to.
In addition to information on Java, there's a page devoted to newsgroup
etiquette in the specific context of the c.l.j.* tree (e.g. how to post a
stack trace, etc.).

   - Oliver
Ian Wilson - 31 Oct 2006 11:51 GMT
>>Anyway, seeing these frequent (re)offenders of usenet etiquette makes
>>me want to know more about common courtesy.  At least the c.l.j.*
[quoted text clipped - 12 lines]
>
>     - Oliver

I've found these URLS to be useful for general netiquette ...

http://www.catb.org/~esr/faqs/smart-questions.html
http://www.faqs.org/faqs/usenet/writing-style/part1/
http://www.physci.org/codes/sscce/
http://www.faqs.org/faqs/usenet/emily-postnews/part1/

Roedy's website had some good advice relating to Java newsgroups
http://mindprod.com/jgloss/jgloss.html
but I've been getting "connection refused" for that URL for a day or so
now :-(
Matt Humphrey - 30 Oct 2006 13:27 GMT
> How to get an Image from mysql database, and display it froma java
> program?

There are many different ways to display an image in a java program--one of
the easiest is to put it into a JLabel via an ImageIcon.  Read the API (you
have the API, right ?) for JLabel and go from there.

As to how to get the image from a database, the critical question is how did
the image get into the database?  Is it in a blob?  How is it encoded?  Just
select it like any other field and reverse the process.  Most likely it will
yield a byte array (in some format, gif, png, jpg) that you can use to
instantiate the actual Image.

Matt Humphrey matth@ivizNOSPAM.com http://www.iviz.com/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.