Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Toyman
  • Order by date
  1. Toyman

    Application under Linux Service

    Hi sedj Yes you were right !!!! & did the trick..... Thanks... easy solution to the problem ... All working fine now !!!!!!! Thanks all for your replies !!!!! Toyman VB / Java Programmer
  2. Toyman

    Application under Linux Service

    Hi I've written an Application (Server) that will run as a service under Linux. I've created the service script and all seems OK. The only problem is that when I execute the java command within the script, It doesn't return because the application is running under the VM. So the question is...
  3. Toyman

    Testing for Compiler

    Thanks yeah sorry, it should be compiling Will have a look at the links !!!!
  4. Toyman

    Testing for Compiler

    Hi Is there a way to test which compiler compiled the source. e.g #if __mswin blah blah windows compiled #elseif __unix blah blah unix compiled #elseif (whatever other os compilers available) #endif I'm trying to write programs that will run on MS Windows and Red Hat (Server type...
  5. Toyman

    Router not forwarding port 1433 MSSQL

    Hi I've got a Belkin Wireless router. I've settup the virtual servers to point some ports to my server PC. I've got 8 port that I redirect... all of them works fine, but not port 1433 for MSSQL. On the lan everything works fine. So the server is running. Any Ideas ? Toyman VB / Java...
  6. Toyman

    drawImage in paint of JComponent

    Okay I've changed the drawImage to : g.drawImage(img,0,0,getWidth(),getHeight(),this.getParent()); Now the top Image works ... but the images in the table still doesn't work. Please help !!!!!!!!!! Toyman VB / Java Programmer carel_dutoit@yahoo.co.uk
  7. Toyman

    drawImage in paint of JComponent

    Dudes Thanks for the replies. This is just a demo app to demonstrate the PROBLEM I'am having. Stefan you are right one should try a catch the exceptions... Could we please stay with the original problem :-) Still no solution !!!! Cheers Toyman VB / Java Programmer carel_dutoit@yahoo.co.uk
  8. Toyman

    drawImage in paint of JComponent

    Hi I've got a JComponent which I use as a TableCellRenderer. The problem is that the Image is not drawn to the Graphics object of the paint method. Only when the form is resized is the Image shown. If the image change it is not shown at all. (remove //loadPicture((String)value); in the...
  9. Toyman

    Drag and Drop Objects (Serialized)

    Okay let me explain.... I want to mainly do it for database type applications... This class is used to populate a list op personnel in a JList.... I create a Object for each person in my personnel file... then add it to a Vector which goes into the JList DefaultListModel.... this will display...
  10. Toyman

    Drag and Drop Objects (Serialized)

    Hi I can't seem to find a good solution on Draggin and Dropping of objects..... That is ..... I've got a class (Non Swing Component) I want to be able to drag and drop the object of the created class and not the text only. Please don't point me to sites where I can read on this unless there...
  11. Toyman

    Applet Copy file in Jar to Disk

    Hi I've got a file in a jar file that I want to copy to disk. The class can run under an Application or Applet. I know how to sign jar files !!!!! .... So lets say file x is in the root of the jar file... I want to copy it to a location on disk (Windows/Linux/Mac) Thanks Toyman VB / Java...
  12. Toyman

    JComponent accepting Keyboard input

    HI sedj Thanks for the reply. But... This is not wat I want to do.... ShapeViewer is just a class extended from JComponent.... What I want to do is to have a KeyListener on a Class that is extended from a JComponent.... So that when you add the JComponent class to a Frame that one don't need...
  13. Toyman

    JComponent accepting Keyboard input

    Hi I've got a class that extends JComponent. The class implements KeyListener. Nothing happens when I pless a key !!! Any ideas why ? NOTE: ShapeViewer extends JComponent !!!!! Here is the code. import java.awt.event.*; public class ShapeEditor extends ShapeViewer implements KeyListener{...
  14. Toyman

    Add picture into Word Document with an Object

    Hi I've got a stdPicture object that I want to insert into a Word Document. I don't want to save the picture to disk and then insert it with InsertPicture, but directly from the Object. Any help please. Toyman VB / Java Programmer carel_dutoit@yahoo.co.uk
  15. Toyman

    Cannot connect on port 25 remotely

    Thanks RhythmAce That was it !!!!!!! Do you know how I can change my access file so that the relay can accept all pc in say 192.168.0.* !!!! Currently I need to set the pc's on by one in this file ... If the pc's ip address is not static I want it stil to be able to smtp Thanks Toyman...
  16. Toyman

    Cannot connect on port 25 remotely

    Hi This is my problem... I've got 'n Red Hat Linux 9 server running sendmail on port 25 .... but I cannot connect from any other maching to that port. I can do telnet server 25 on the server and it works fine. But from any other machine it does not respond to the HELO command. (or any) The...
  17. Toyman

    Writing an Editor in Java

    Hi Does anybody know where I can find source code showing how to write An Editor in Java...... Thanks Carel
  18. Toyman

    Parameter Parsing

    Hi I want to do the following... Pass a parameter to a HTML page, which has an applet. One of the parameters of the APPLET is the parameter passed to the HTML page. So HTML page one has a link <a href=www.bla.bla.bla?myparam=something So how do a get the parameter past by the first HTML page...
  19. Toyman

    Move/Drag Shapes

    Hi Does someone have a simple example, to select, drag/move shapes that was drawn with paint(Graphics g). Thanks Toyman
  20. Toyman

    Font Size Calculate

    Hi This is want I want to do... I've got 3 Lines (3 x Strings).. Lets say Line1 = &quot;Hello World&quot; Line2 = &quot;Goodbye World&quot; Line3 = &quot;Here I am again World&quot; I want to calculate the rectangular erea around the 3 lines. So x = 0 y = 0 width = (size of each...

Part and Inventory Search

Back
Top