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 derfloh 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
  • Order by date
  1. rvy2k

    weird jspinner problem

    ...(try resizing after it shows up) Any help would be greatly appreciated. // CODE STARTS HERE //////////////////////////////// import javax.swing.*; import java.util.*; import java.awt.*; public class Test { public static void main(String args[]) { TimeSpinner spin1 = new TimeSpinner()...
  2. rvy2k

    JSpinner format problem

    ...wrong with my code? I would really appreciate it ... //////////////////////////////////////////////////////////////////////// import java.awt.*; import java.text.*; import java.util.*; import javax.swing.*; import javax.swing.text.*; public class Test { public static void main(String[]...
  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

    i have a last question: how come the year field is not limited to only 4 digits? i went up to 7 digits. thanks!
  5. rvy2k

    problem with SimpleDateFormat

    Pieter, Thank you so much for the explanation. That makes a lot of sense now!
  6. rvy2k

    problem with SimpleDateFormat

    ...field or a 3 on the day field. Thanks for your help! /////////////////////////////////////////////////////////////////////// import java.awt.*; import java.text.*; import java.util.*; import javax.swing.*; import javax.swing.text.*; public class Test { public static void...
  7. rvy2k

    simulate gridlayout with gridbaglayout

    anyone? basically i was wondering if it was possible for all the columns of a gridbaglayout to have the same size ...
  8. 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...
  9. rvy2k

    Java GUI thread problem

    ...public class TestFrame extends javax.swing.JFrame implements Runnable { Thread thread; /** Creates new form TestFrame */ public TestFrame() { thread = new Thread(this); initComponents(); this.setSize(120,60); this.setVisible(true); }...
  10. 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...
  11. rvy2k

    two dimensional array

    thanks Mithrilhall, but it didnot work ... I still get the missing subscript error --------------------Configuration: test - Win32 Debug-------------------- Compiling... test.c E:\Documents and Settings\hroussel\Desktop\test.c(4) : error C2087: '<Unknown>' : missing subscript Error executing...
  12. rvy2k

    two dimensional array

    ...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 len) { int n; for(n=0;n<len;n++) { printf(&quot;%i &quot;,array[n]); }...
  13. rvy2k

    problems with package and jar

    It half worked: I jared from the directory com and set the classpath. I use Visual J++ and when I import the package, it seems to see it because it gives me its selection. However when I compile, it is still giving me the error that the package com.me doesn't exist ....
  14. rvy2k

    problems with package and jar

    Thanks Vepo. %jar cvf ownPackage.jar com\me\MyClass\*.class but what if I have: com\me\MyClasscom\me\MyOtherClass is there a way to jar both directories? Thanks again.
  15. 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...
  16. 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!
  17. rvy2k

    servlet issue

    ...displays in the web browser, but once I do a refresh some of the data increments its value at a constant rate. Here is the code: import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.sql.*; import java.util.StringTokenizer; public class Survey extends...
  18. rvy2k

    problem with jar file

    javaw. also the title on the error box is &quot;Java Virtual Machine Launcher&quot; thanks.
  19. rvy2k

    problem with jar file

    i think ... Manifest-Version: 1.0 Name: Me Main-Class: HelloWorld
  20. rvy2k

    problem with jar file

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

Part and Inventory Search

Back
Top