Tau Empire Codex 2013 | Army Builder Program
Dark Angels Codex 2013
Chaos Daemons Codex 2013
Chaos Space Marines Codex 2012

Warhammer 40k Forum Tau Online

 

Warhammer 40K Forum

Anyone know anything about Java JFrame and Server type software?
Reply
Old 24 Feb 2010, 17:01   #1 (permalink)
Shas'Ui
 
Join Date: Jan 2008
Location: Ireland
Posts: 698
Default Anyone know anything about Java JFrame and Server type software?

Right, I'm trying to add an image to a JPanel, but it won't work. I think it's a pathing error, but I'm not sure.

Here's my code;

DisplayIcon =new JLabel( new ImageIcon("LightBulbOff.png"));
DisplayIcon.setVisible(true);
DisplayPanel.add(DisplayIcon);


Also, does anyone know how to send a file from a client to a server? I've the server set up, but I don't know which stream to use.
__________________
Click on these little dudes to get a slightly bigger little dude!




http://www.travian.co.uk/?uc=uk1
RonanB1011 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Program Debugging Genmotty Computers, Science and Technology 4 05 Nov 2009 10:46
Java hates me too... Tau-killer Computers, Science and Technology 3 23 Mar 2009 13:11
Java hates me... GeekyGator Computers, Science and Technology 25 05 Mar 2009 20:14
Anyone know Java well? RonanB1011 Computers, Science and Technology 4 09 Nov 2008 19:38
a java page demo azr9 Computers, Science and Technology 4 17 Aug 2007 19:13