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 bkrike 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: rvy2k
  • Content: Threads
  • Order by date
  1. rvy2k

    weird jspinner problem

    Hi all, I have this weird problem with Jspinners when I try to run this code. When I run it, the second spinner shows the date (while the first one only shows the time) and they are both larger than they are supposed to be (try resizing after it shows up) Any help would be greatly appreciated...
  2. rvy2k

    JSpinner format problem

    Hi guys, I am trying to create a JSpinner with the following format HH:MM but it is not working. The spinner keeps displaying both the date and the time. Can somebody tell me what's wrong with my code? I would really appreciate it ...
  3. rvy2k

    JFormattedTextField constructor

    Hi everybody, I have the following code: SimpleDateFormat format = new SimpleDateFormat("MM/dd/yyyy"); format.setLenient(false); JFormattedTextField ftf = new JFormattedTextField(format); Now I am trying to write a class that extends JFormattedTextField and translate the code above...
  4. rvy2k

    problem with SimpleDateFormat

    Hi, I have this problem with the code below using JFormattedTextField with SimpleDateFormat. I can't insert a 1 on the month field or a 3 on the day field. Thanks for your help! /////////////////////////////////////////////////////////////////////// import java.awt.*; import java.text.*...
  5. rvy2k

    simulate gridlayout with gridbaglayout

    Hi everyone, I am trying to create a panel with a gridbaglayout with N number of columns which would all have the same width no matter what the size of the components inside are. Basically, i would like the gridbaglayout to act like gridlayout and therefore no resize. Is this possible? Thanks...
  6. rvy2k

    Java GUI thread problem

    Hi all, I have a JFrame that implements Runnable. This creates a thread that does some work, While it is doing the work, I would like the JFrame/Thread to wait. The problem is that the JFrame just freezes. I tried multiple things Thread.join, Thread.wait, monitor with synchronized method...
  7. rvy2k

    images and file i/o from an applet

    hi all, i have an applet, a JFrame that has pictures in it. I use the Applet.getImage() method but the applet doesn't load the pictures. The pictures are stored on the web server that is running the applet. I read the posts about my problem and I don't think I need to sign my applet because...
  8. rvy2k

    two dimensional array

    hi guys! i was wondering if somebody could paste the code of a function that prints out all the values of a 2dimensional array. i keep getting a missing subscript compilation error. the equivalent for a one dimensional array would be: /* code starts here */ void print_array(int array [], int...
  9. rvy2k

    problems with package and jar

    Hi guys, I am trying to create a package, jar so that I can reuse it later. - This is my package /* START OF CODE */ package com.me.MyClass; public class MyClass { public void myMethod() { /* ... */ } } /* END OF CODE */ - I compile it using % javac -d c:\jdk1.3\jre\classes MyClass.java...
  10. rvy2k

    unix socket programming

    Hi everybody, I am new to socket programming and C and i am trying to compile this: /*code begins*/ struct sockaddr_in dest; dest.sin_port = htons(MY_PORT); /*code ends*/ However I am having a %parse error before `=' compiling error. Can anybody help? Thanks!
  11. rvy2k

    servlet issue

    Hi, I have a servlet that is using a database to query results from a survey. The survey has 3 questions and each one of them has 4 possible answers. The query runs fine and displays in the web browser, but once I do a refresh some of the data increments its value at a constant rate. Here is...
  12. rvy2k

    problem with jar file

    When I double click on my jar file, I get the foolowing error: "Could not find the main class. Program will exit!" I tried % javaw My JarFile and it launches fine. Anybody had the same problem? Thanks
  13. rvy2k

    Jtextarea stays blank when typing in it - Please help!

    Hi all, When I try to type into a Jtextarea, no text appears at all. The area stays blank. I know it is there because I did a select all + copy, then pasted it into notepad and it was there. I tried revalidate() and repaint() but it didnot work. Anybody had the same problem? Thanks!
  14. rvy2k

    jtextarea stays blank when typing in it

    Hi all, When I try to type into a Jtextarea, no text appears at all. The area stays blank. I know it is there because I did a select all + copy, then pasted it into notepad and it was there. Anybody had the same problem? Thanks!
  15. rvy2k

    updating info

    Hi everybody, I have multiple client application that are updating a Microsoft Access database on a server. Each client have an up-to-date representation of the data on the database. I would like the client to be notified each time the database is changed by another client so that it can update...
  16. rvy2k

    JDBC

    Hi everybody, I am creating an application that will update a database (text file). The database file will be located on a server and has to be accessible by everybody accross the network. I am a beginner, and my solution was to update the file when the user fills the form. The program would...

Part and Inventory Search

Back
Top