I'm trying to draw a class schedule using JTable, is this practical?

I'm developing a system that has to draw a schedule on screen. The very first question I ask myself is whether this is practical or not, but I can't think of any components else.
The thing is I don't know that:
1. If I use the header to indicate the time (e.g. 9:00-10:30; 10:30-12:00; 12:00-13:30; 15:00-16:30), can I have another vertical "header" to indicate the day of the week?
2. Many times an event in the schedule finishes before the time slot does, e.g. a Java Programming class could be from 9:00 - 11:30 on Monday, which means if I just add it on the first two time slots on Monday, it's supposed to mean that's from 9:00 - 12:00.
3. If I modify the time slot to be shorter, e.g. 9:00-9:30; 9:30-10:00; 10:00-10:30; 10:30-11:00 ... 16:00-16:30, the table will look too funny to put into real use.
4. If this were in Microsoft Excel, I would use three cells with each cell representing a period of 30 minutes, and the merged column header, is it possible to do the same thing with Java?
Thank you very much in advance for any replies!

In the future, Swing related questions should be posted in the Swing forum.
Maybe one of the example here will give you some ideas:
http://www.crionics.com/products/opensource/faq/swing_ex/JTableExamples1.html
can I have another vertical "header"Its called a row header and you add a component to the scroll pane to represent your days of the week. This is done by using the setRowHeaderView(...) method. Search the Swing forum for examples using this method (I've posted several).

Similar Messages

  • Problem accessing servlet from java class which uses Basic Authentication

    "Hi,
    I am using weblogic 6.1 server. I am calling a servlet file from a class file using HttpURLConnection. This is the code below.
              String theUsername="B1A1Z1T2";
              String thePassword="hlladmin";
              String urlString="http://rsnetserver:113/hll/servlet/CallSSRUpload";
              String userPassword = theUsername ":" thePassword;
              String encoding = new sun.misc.BASE64Encoder().encode (userPassword.getBytes());
              try
                   URL url = new URL (urlString);
                   HttpURLConnection uc=(HttpURLConnection)url.openConnection();
                   int it = 0;
                   while ((it = encoding.indexOf('\n')) != -1
                        || (it = encoding.indexOf('\r')) != -1) {
                             encoding = encoding.substring(0, it)
                             encoding.substring(it 1);
                   uc.setRequestProperty("Authorization","BASIC " encoding);
                   uc.setRequestProperty("SOAPAction", url.toString());
                   System.out.println(uc.getResponseCode());
                   System.out.println(uc.getResponseMessage());
              catch(Exception io)
                   io.printStackTrace();
                   System.out.println("error message........" io.getMessage());     
    In web.xml I have d

    Hello,
    Could you post the stack trace?
    Thanks,
    Bruce
    Vijay Babu wrote:
    >
    "Hi,
    I am using weblogic 6.1 server. I am calling a servlet file from a class file using HttpURLConnection. This is the code below.
    String theUsername="B1A1Z1T2";
    String thePassword="hlladmin";
    String urlString="http://rsnetserver:113/hll/servlet/CallSSRUpload";
    String userPassword = theUsername ":" thePassword;
    String encoding = new sun.misc.BASE64Encoder().encode (userPassword.getBytes());
    try
    URL url = new URL (urlString);
    HttpURLConnection uc=(HttpURLConnection)url.openConnection();
    int it = 0;
    while ((it = encoding.indexOf('\n')) != -1
    || (it = encoding.indexOf('\r')) != -1) {
    encoding = encoding.substring(0, it)
    encoding.substring(it 1);
    uc.setRequestProperty("Authorization","BASIC " encoding);
    uc.setRequestProperty("SOAPAction", url.toString());
    System.out.println(uc.getResponseCode());
    System.out.println(uc.getResponseMessage());
    catch(Exception io)
    io.printStackTrace();
    System.out.println("error message........" io.getMessage());
    In web.xml I have d

  • Compile error in paint() method while trying to draw graphics

    Hi ,
    I am trying to draw two lines given the sceen coordinated through a mouse click. I am getting the following error
    Pos.java:90: illegal start of expression
    public void paint(Graphics g)
    ^
    Pos.java:102: ';' expected
    ^
    2 errors
    My code is as follows:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.geom.*;
    public class Pos extends Container {
    //public void paint(Graphics);
    public static void main(String args[]) {
    Pos p = new Pos();
         p.getPosition();
    JButton bn = new JButton("Draw Line");
    int posx=0;
    int posy=0;
    int i=0;
    int x[] = new int[4];
    int y[] = new int[4];
    public void getPosition() {
    JFrame frame = new JFrame("Mouse Position");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    JLabel label = new JLabel();
    label.setHorizontalAlignment(JLabel.CENTER);
    /*MouseMotionListener mouseMotionListener = new MouseMotionListener() {
    public void mouseDragged(MouseEvent e) {
    public void mouseMoved(MouseEvent e) {
              MouseListener mouseListener = new MouseListener(){
                   public void mouseEntered(MouseEvent evnt){
                   public void mouseExited(MouseEvent evnt){
                   public void mousePressed(MouseEvent evnt){
                   public void mouseReleased(MouseEvent evnt){
                   public void mouseClicked(MouseEvent evnt) {
                        showMousePos(evnt);
                        //mon.setText("("+MouseInfo.getPointerInfo().getLocation().x+","+
                                            //MouseInfo.getPointerInfo().getLocation().y+")");
                   private void showMousePos(MouseEvent evnt) {
    JLabel src = (JLabel)evnt.getComponent();
                   posx = MouseInfo.getPointerInfo().getLocation().x;
                   posy = MouseInfo.getPointerInfo().getLocation().y;
    System.out.println("x-coordinate="+posx);
                   System.out.println("y-coordinate="+posy);
                   x=posx;
                   y[i]=posy;
                   i=i+1;
              label.addMouseMotionListener(mouseMotionListener);
              label.addMouseListener(mouseListener);
              label.addActionListener(actionListener);
    frame.add(label, BorderLayout.CENTER);
              bn.setSize(10,10);
              frame.add(bn, BorderLayout.NORTH);
    frame.setSize(300, 300);
    frame.setVisible(true);
         ActionListener actionListener = new ActionListener(){
                   public void actionPerformed(ActionEvent ae)
                        Object o = ae.getSource();
                        if (o==button)
                             public void paint(Graphics g)
                                  Graphics2D g2D = (Graphics2D)g;
                                  //int p[]=new int[4];
                                  g2D.setColor(Color.red);
                                  //for (int j=0;j<2;j++)
                                       //Point2D.Int p[j]= new Point2D.Int(x[j],y[j]);                              
                                  //Line2D line = new Line2D.Int(p[0],p[1]);
                                  g2D.drawline(x[0],y[0],x[1],y[1]);
                                  i=0;
    Please tell me what the mistake is.
    lakki

    Thank you all for the sggestions. The error was exactly due to what you mentioned above. I fixed that by drawing the lines on another JPanel and it is working now.
    But I have a bigger problem. How to make a JPanel transparent. I have to draw lines on a video. The panel for drawing lines is opaque and so I can draw lines only if I am able to see the video. setOpaque(false) does not seem to work. I am posting my code below. Please see if you can help me out.
    import javax.media.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    import java.lang.Math;
    import javax.media.control.FramePositioningControl;
    import javax.media.protocol.*;
    import javax.swing.*;
    class MPEGPlayer2 extends JFrame implements ActionListener,ControllerListener,ItemListener
         Player player;
         Component vc, cc;
         boolean first = true, loop = false;
         String currentDirectory;
         int mediatime;
         BufferedWriter out;
         FileWriter fos;
         String filename = "";
         Object waitSync = new Object();
         boolean stateTransitionOK = true;
         JButton bn = new JButton("DrawLine");
         MPEGPlayer2 (String title)
              super (title);
              addWindowListener(new WindowAdapter ()
                   public void windowClosing (WindowEvent e)
                        dispose ();
                public void windowClosed (WindowEvent e)
                        if (player != null)
                        player.close ();
                        System.exit (0);
              Menu m = new Menu ("File");
              MenuItem mi = new MenuItem ("Open...");
              mi.addActionListener (this);
              m.add (mi);
              m.addSeparator ();
              CheckboxMenuItem cbmi = new CheckboxMenuItem ("Loop", false);
              cbmi.addItemListener (this);
              m.add (cbmi);
              m.addSeparator ();
              mi = new MenuItem ("Exit");
              mi.addActionListener (this);
              m.add (mi);
              MenuBar mb = new MenuBar ();
              mb.add (m);
              setMenuBar (mb);
              setSize (500, 500);
              setVisible (true);
         public void actionPerformed (ActionEvent ae)
                        FileDialog fd = new FileDialog (this, "Open File",FileDialog.LOAD);
                        fd.setDirectory (currentDirectory);
                        fd.show ();
                        if (fd.getFile () == null)
                        return;
                        currentDirectory = fd.getDirectory ();
                        try
                             player = Manager.createPlayer (new MediaLocator("file:" +fd.getDirectory () +fd.getFile ()));
                             filename = fd.getFile();
                        catch (Exception exe)
                             System.out.println(exe);
                        if (player == null)
                             System.out.println ("Trouble creating a player.");
                             return;
                        setTitle (fd.getFile ());
                        player.addControllerListener (this);
                        player.prefetch ();
         }// end of action performed
         public void controllerUpdate (ControllerEvent e)
              if (e instanceof EndOfMediaEvent)
                   if (loop)
                        player.setMediaTime (new Time (0));
                        player.start ();
                   return;
              if (e instanceof PrefetchCompleteEvent)
                   player.start ();
                   return;
              if (e instanceof RealizeCompleteEvent)
                   vc = player.getVisualComponent ();
                   if (vc != null)
                        add (vc);
                   cc = player.getControlPanelComponent ();
                   if (cc != null)
                        add (cc, BorderLayout.SOUTH);
                   add(new MyPanel());
                   pack ();
         public void itemStateChanged(ItemEvent ee)
         public static void main (String [] args)
              MPEGPlayer2 mp = new MPEGPlayer2 ("Media Player 2.0");
              System.out.println("111111");
    class MyPanel extends JPanel
         int i=0,j;
         public int xc[]= new int[100];
         public int yc[]= new int[100];
         int a,b,c,d;
         public MyPanel()
              setOpaque(false);
              setBorder(BorderFactory.createLineBorder(Color.black));
              JButton bn = new JButton("DrawLine");
              this.add(bn);
              bn.addActionListener(actionListener);
              setBackground(Color.CYAN);
              addMouseListener(new MouseAdapter()
                            public void mouseClicked(MouseEvent e)
                        saveCoordinates(e.getX(),e.getY());
         ActionListener actionListener = new ActionListener()
              public void actionPerformed(ActionEvent aae)
                        repaint();
         public void saveCoordinates(int x, int y)
              System.out.println("x-coordinate="+x);
                   System.out.println("y-coordinate="+y);
                   xc=x;
              yc[i]=y;
              System.out.println("i="+i);
              i=i+1;
         public Dimension getPreferredSize()
    return new Dimension(500,500);
         public void paintComponent(Graphics g)
    super.paintComponent(g);
              Graphics2D g2D = (Graphics2D)g;
              //g2D.setComposite(AlphaComposite.getInstance(AlphaComposite.CLEAR, 0.0f));
              g2D.setColor(Color.GREEN);
              for (j=0;j<i;j=j+2)
                   g2D.drawLine(xc[j],yc[j],xc[j+1],yc[j+1]);

  • Is there a way to add my class schedule to my iPhone calendar without having to individually add every entry over the course of 4 months?

    I'm a professor, and I'm trying to get my teaching schedule and office hour schedule onto my calendar without having to individually add every entry for three classes from beginning to end of semester.

    Add a recurring evening in iCloud or whatever calendar that is synced to the device.

  • Photoshop CC: When I'm trying to draw a rectangle I can't fill it or create a stoke because there is a message telling me; "Could not complete your request because of a program error. What can I do?

    Photoshop CC: When I'm trying to draw a rectangle I can't fill it or create a stoke because there is a message telling me; "Could not complete your request because of a program error. What can I do?

    It is a mute point now. PSE12 finally failed to the point it locked up the MAC. I had to restore the MAC OS from backup to a point before the PSE12 update.
    The MAC now operates correctly and so does PSE12. I don't think I'll be updating PSE any time soon.

  • HT1386 I am trying to sync my ipad to my pc and this message keeps coming up "itunes was unable to load data class information from sync services.  Reconnect or try again later."

    I am trying to sync my ipad to my pc and this message keeps coming up, "itunes was unable to load data class information from sync services.  Reconnect or try again later."  I have done both.  Please help.  Thank you.

    Look here for help
    iTunes for Windows: "Unable to load data class .....

  • Trying to pass a class as a parameter

    I am converting code written by someone else in VB6.  They had a lot of global variables and I am trying to find a way to use a class as a parameter so I can pass it to multiple forms.  I can’t get the method to accept the class.
    Here is the class definition:
        public class CommonCode
            public class gArrayContainer
                public gArrayContainer()
                    dateTimeInputRecord = null;
                    strPanelData = null;
                    strTimeSelected = null;
                    strPanelPresent = null;
                public gArrayContainer(int intNumberOfInputRecords)
                    dateTimeInputRecord = new DateTime[intNumberOfInputRecords];
                    strPanelData = new string[intNumberOfInputRecords, 4, 25, 8, 17, 12];
                    strTimeSelected = new string[intNumberOfInputRecords];
                    strPanelPresent = new string[intNumberOfInputRecords, 4, 25];
                public DateTime[] dateTimeInputRecord { get;set; }
                public string[,,,,,] strPanelData { get; set; }
                public string[] strTimeSelected { get; set; }
                public string[,,] strPanelPresent { get; set; }
                public string strTest {get; set;}
    This is where I am calling from:
    private
    void openBarButtonItem_ItemClick(object
    sender, DevExpress.XtraBars.ItemClickEventArgs e)
    try
    CommonCode cmn =
    new
    CommonCode();
                    CommonCode.gArrayContainer
    gArrayContainerInstance = new
    CommonCode.gArrayContainer();
                    cmn.mnuFileOpen(CallMe, gArrayContainerInstance);
    catch (Exception
    exc)
    Console.WriteLine(exc);
    throw exc;
    And this is the method I’m trying to call:
    public
    void mnuFileOpen(PassStatusBackFunction
    messageCallback, gArrayContainerInstance )
    try
    string strStartDirectory =
    string strDataPath =
    string strDataFile =
    string strDataFileTitle =
    int intCount = 0;
                    additional logic……
    catch (Exception
    exc)
                    Console.WriteLine(exc);
    throw exc;
    How am I supposed to code the class in the calling location and the definition?
    Thanks.

    Also (not sure why you've chosen c#) it would be far easier for you to convert from VB6 to VB.Net than it would be to C#, I even think theres some pretty robust converters knocking around the tinterweb

  • IllegalAccessError trying to instantiate public class from JSP page

    I have a public class called UrlHolderClient located in both
    WEB-INF/classes/UrlHolderClient.class and
    WEB-INF/lib/urlholder.jar.
    This client class is used as a wrapper class around a simple ejb which holds urls. I have a JSP which tries to create an instance of UrlHolderClient in jspInit(), but the call to the constructor throws a java.lang.IllegalAccessError. I have no idea what the problem is here. I import the classes using the page directive.
    Any suggestions?

    Is this tomcat you are deploying on or some other App Server?
    Also, you reference JspInit(), have you tried instanting in
    Scriplet Code <% UrlHolderClient urlHolderClient = new UrlHolderClient() %>
    Does that not work either?

  • Trying to end a class

    While trying to end a class I get an error that states: class, interface or enum expected
    the following closing statement is used
    } // end class Employee
    the following is the entire code
    // Employee.java
    //store and recall payroll info
    import java.util.*;
         public class Employee
              // declare variables
                   String empName;
                   double rate;
                   double hours;
               // initialize variables in constructor
               public Employee ( String empName, double rate, double hours );
                      this.empName = employeeName;
                      this.rate = hourlyPay;
                      this.hours = hoursWorked;
                 // generate getters and setters
                 public String getEmpName ();
                      return empName;
                 public void setEmpName ( String empName );
                      this.empName = employeeName;
                 public double getRate ();
                      return rate;
                 public void setRate ( double rate );
                      this.rate = hourlyPay;
                 public double getHours ();
                      return hours;
                 public void setHours ( double hours );
                      this.hours = hoursWorked;
                 // use method to calculate pay
                 public money.format getTotalPay ();
                      return ( totalPay );
            } // end main
       } // end class Employee

    they actually do, this is a second class to a program that i am writing for a java class assignment.
    I will sent both parts that may help.
    // Payroll.java
    // Create and manipulate a payroll program
    import java.util.Scanner;
    import java.text.DecimalFormat;
    public class Payroll
        // Main method begins execution of Java Application
        public static void main( String args[] )
            String employeeName; // employee name read by user
            boolean isValid = true; // test condition
            double pay; // calculates pay
            // create Scanner to obtain input from command window
            Scanner input = new Scanner( System.in );
            // start loop
            while ( isValid )
                System.out.print( "Enter Employee Name. (type stop to quit):" ); // prompt
                employeeName = input.nextLine(); // obtain user input
                if (employeeName.equalsIgnoreCase ( "stop" ))
                        isValid = false; // reset test condition
                        break; // stop the program
                   else
                        pay = calculatePay(); // call new method to perform calculations
                System.out.println( "total pay for" + employeeName +":"+pay );
         } // end main method
         //this method calculates returns the total pay to my calling method in the main
         public static double calculatePay()
              // define and initialize my variables
              double hourlyPay; // hourly pay read by user
              double hoursWorked; // hours worked read by user
              double totalPay; // total pay as calculated by program
            Scanner input = new Scanner(System.in);
            System.out.print( "Enter Hourly Pay:" ); // prompt
            hourlyPay = input.nextDouble(); // obtain user input
            if ( hourlyPay < 0 )
                System.out.println( "Enter Positive Number. Please re-enter hourly pay:" );
                hourlyPay = input.nextDouble();
            System.out.print( "Enter Hours Worked:" ); // prompt
            hoursWorked = input.nextDouble(); // obtain user input
            if (hoursWorked < 0 )
                System.out.print( "Enter Positive Number. Please re-enter hours worked:" );
                hoursWorked = input.nextDouble();
              //get total pay
            totalPay = hourlyPay*hoursWorked; //multiply variables
            // create decimalFormat
            DecimalFormat money = new DecimalFormat( "$0.00" );
            // display total
            System.out.print( "Total Pay For Employee Is: " );
            System.out.println(money.format ( totalPay ) );
            // return total pay
            return totalPay;
        } // end main
    } // end class Payroll
    // Employee.java
    //store and recall payroll info
    import java.util.*;
         public class Employee
              // declare variables
                   String empName;
                   double rate;
                   double hours;
               // initialize variables in constructor
               public Employee ( String empName, double rate, double hours )
                      this.empName = employeeName;
                      this.rate = hourlyPay;
                      this.hours = hoursWorked;
                 // generate getters and setters
                 public String getEmpName ()
                      return empName;
                 public void setEmpName ( String empName )
                      this.empName = employeeName;
                 public double getRate ()
                      return rate;
                 public void setRate ( double rate )
                      this.rate = hourlyPay;
                 public double getHours ()
                      return hours;
                 public void setHours ( double hours )
                      this.hours = hoursWorked;
                 // use method to calculate pay
                 public money.format getTotalPay ()
                      return ( totalPay );
            } // end main
       } // end class Employee

  • Suffering an complie error when trying to compile java class in EBS11i

    Hi,
    When I trying to compile java classes with which imported the HttpServletResponse class, will get the follow error message:
    package javax.servlet does not exist
    cannot resolve symbol
    symbol : class HttpServletResponse
    It seems the javax.servlet package is not included in the classpath. But I checked the $CLASSPATH, it seems no problem.
    echo $CLASSPATH
    /u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/u02/applvis/viscomn/java/appsborg2.zip:/u02/applvis/visora/8.0.6/forms60/java:/u02/applvis/viscomn/java
    Does anyone know the reason?
    environment: ebs 11i
    Thanks&Regards,
    Xiaofeng

    resolved this issue.
    1. Edit $APPL_TOP/admin/adovars.env file -
    Add the following jar files to the AF_CLASSPATH line -
    Full path of /...../iAS/Apache/Jsdk/lib/jsdk.jar
    Full path of /...../iAS/Apache/Jserv/libexec/ApacheJServ.jar
    2. Bounce the concurrent manager in order to have the changes take effect.

  • MS Services error 1064 when trying to start Oracle BI Scheduler service

    I am trying to configure Oracle BI Scheduler. After working through the config routines the Oracle BI Scheduler Service needs to be re-started. The Microsoft error message I get in the Services dialog is both consistent and persistent: "Could not start the Oracle BI Scheduler on local computer. Error 1064: An exception occurred in the service when handling the control request." This error seems to be well-known among users of this product, but the solution - if there is one - is not at all well-known... at least to me. Any help?

    Follow this article and make sure you defined all the steps. If any of these steps are wrong, the service throws the error.
    http://oraclebizint.wordpress.com/2007/09/13/oracle-bi-ee-10133-configuring-delivers-ibots/
    and also check is scheduler database is up and running.
    - Madan

  • HELP Error trying to load XMLNode.class

    I am trying to load the Beta XDK for PL/SQL into the database. At first when I ran the command:
    loadjava -user ..... xmlparserv2.jar
    I got a whole lot of errors saying that it could not read the compressed format. So I decompressed the .jar file and tried to load each .class individually. This seemed to work fine until I tried the XMLNode.class file. I get this error when I try to load it:
    Error while opening or reading XMLNode.class
    Exception oracle.aurora.server.tools.ToolsException: file format error
    loadjava: 1 errors
    Anyone know why I am getting this or have any fixes? Thank you.

    Hi,
    whether u ve checked "texts language dependent" option in the masterdata/texts context screen of the infoobject? If so, then u ve to specify the language (for english, EN)in ur flat file too
    Hope it helps..Let me know
    Regards,
    R.Ravi

  • Strange problem when tried to convert HelloWorld.class..

    Hi friends..
    i've downloaded the Java Card SDK 2.2.1, and i tried to compile HelloWorld application that shipped with its distribution..
    i found strange problem when i tried to convert HelloWorld.class into .CAP, etc.. :(
    I use Windows XP, assume that i've set the Environment Variables needed
    i've compiled the HelloWorld.java into HelloWorld.class..
    the package of of HelloWorld is : com.sun.javacard.samples.HelloWorld;
    and i use this config file :
    -out EXP JCA CAP
    -exportpath .
    -applet  0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x1:0x1 com.sun.javacard.samples.HelloWorld.HelloWorld
    com.sun.javacard.samples.HelloWorld
    0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x1 1.0and then i tried to run converter script in the Console :
    *C:\java_card_kit-2_2_1\samples>converter -config com\sun\javacard\samples\HelloWorld\HelloWorld.opt*
    *error: file com\sun\javacard\samples\HelloWorld\HelloWorld.opt could not be found*
    Usage:  converter  <options>  package_name  package_aid  major_version.minor_ve
    sion
    OR
    converter -config <filename>
                        use file for all options and parameters to converter
    Where options include:
            -classdir <the root directory of the class hierarchy>
                          set the root directory where the Converter
                          will look for classes
            -i            support the 32-bit integer type
            -exportpath  <list of directories>
                          list the root directories where the Converter
                          will look for export files
            -exportmap    use the token mapping from the pre-defined export
                          file of the package being converted. The converter
                          will look for the export file in the exportpath
            -applet <AID class_name>
                          set the applet AID and the class that defines the
                          install method for the applet
            -d <the root directory for output>
            -out  [CAP] [EXP] [JCA]
                          tell the Converter to output the CAP file,
                          and/or the JCA file, and/or the export file
            -V, -version  print the Converter version string
            -v, -verbose  enable verbose output
            -help         print out this message
            -nowarn       instruct the Converter to not report warning messages
            -mask         indicate this package is for mask, so restrictions on
                          native methods are relaxed
            -debug        enable generation of debugging information
            -nobanner     suppress all standard output messages
            -noverify     turn off verification. Verification is defaultPlease help me regarding this, because i'm new in this field..
    Thanks in advance..

    Thanks safarmer for your reply..
    i tried this :
    C:\java_card_kit-2_2_1\samples>javac -target 1.3 -source 1.1 -g -classpath .\cla
    sses;..\lib\api.jar;..\lib\installer.jar src\com\sun\javacard\samples\HelloWorld
    \*.java
    javac: invalid source release: 1.1
    Usage: javac <options> <source files>
    use -help for a list of possible options
    C:\java_card_kit-2_2_1\samples>javac -target 1.3 -source 1.2 -g -classpath .\cla
    sses;..\lib\api.jar;..\lib\installer.jar src\com\sun\javacard\samples\HelloWorld
    \*.java
    it seems that i can't specify the -source to 1.1, so i tried to use -source 1.2..
    after that, i tried to convert again, and i got this error :
    C:\java_card_kit-2_2_1\samples\src>converter -config com\sun\javacard\samples\He
    lloWorld\HelloWorld.opt
    Java Card 2.2.1 Class File Converter, Version 1.3
    Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to lic
    ense terms.
    error: com.sun.javacard.samples.HelloWorld.HelloWorld: unsupported class file fo
    rmat of version 47.0.
    conversion completed with 1 errors and 0 warnings.Please help me regarding this..
    Thanks in advance..

  • How do i bend a line in photoshop (trying to draw a spider web)

    how do i bend a line in photoshop (trying to draw a spider web)?

    Draw the web on a new empty layer  then play with the layer's  blending modes and layers opacity, fill and blend if gray settings. Also try adding layer styles.

  • Dear Friends, I am trying to draw a structure in Adobe Illustrator with 3D effect. But I am unable to give it proper shape. Can someone please help me for drawing the similar structure as showed below. I have facing problems in giving 3D effect.

    Dear Friends, I am trying to draw a structure in Adobe Illustrator with 3D effect. But I am unable to give it proper shape. Can someone please help me for drawing the similar structure as showed below. I have facing problems in giving 3D effect.
    Thanks a lot for your great help...

    i made a quick example:
    and what it's made of:
    just shapes and gradients. used a combination of pathfinder and shape builder to get the shapes exact.

Maybe you are looking for

  • Get the values from a table

    Hi, I am new to webdynpro. I have created one table with four columns in MAX DB. I have to write a webdynpro application such that when the first page loads, all the records will be display. How to proceed for this using webdynpro for java..Please gi

  • Running a Disciverer report gives the following error ORA-20001

    While running one of the discoverer reports under a certain responsibility i got the following error ORA-20001: Oracle error -20001: ORA-20001: Error occurred during product initialization for MO when executing 'begin MO_GLOBAL.INIT; end;'. SQLCODE =

  • USB Install

    OK, so I installed Arch onto my 4gb USB Stick, as per usual procedures (I also read through the "Installing Arch Linux on a USB Key" wiki article. The problem is that everything worked fine, then I did some updates, which seem to have broken the inst

  • Camera Raw and DNG Converter 4.4.1 Now Available

    Details here: http://blogs.adobe.com/lightroomjournal/2008/04/lightroom_141_and_camera_raw_4.html Regards, Tom

  • After upgrade to Snow Leopard, my external drives do not mount...WHY?

    I have spent most of this morning trying to find an answer to why my external hard drives are not mounting in 10.6.1. I have never had a problem with these drives (4 firewire drives). Not one of the will mo0nt. They do not show up under Disk Utilitie