User Profile

Collapse

Profile Sidebar

Collapse
vikassawant
vikassawant
Last Activity: Oct 24 '09, 12:26 PM
Joined: Mar 8 '09
Location: Kolhapur,Maharastra,India
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • css effect can see at mozilla but not on IE and Chrome

    hello,

    In my project I made different css for designing.I including that css according to requirements.
    Firefox shows all effects like background images, rounded box and etc. but IE and chrome doesn't show any effects.

    How to solve this problem?

    Thanks in advance.

    Vikas,
    Kolhapur,Mahara shtra,India.
    See more | Go to post

  • vikassawant
    replied to Is it possible with RSS?
    in PHP
    Hi,

    Thanks for your reply.

    I have solved this problem by Ajax. Through Ajax I am calling a page where I connected to sub-domain database and fetch record from Tables and returns to main site page.

    Is it right way?Or this may increases DB traffic?
    See more | Go to post

    Leave a comment:


  • vikassawant
    started a topic Is it possible with RSS?
    in PHP

    Is it possible with RSS?

    Hi,
    I have a query.

    My project structure is as fallow :

    Suppose there is one main domain like
    http://www.xyz.com with its own database xyz

    There is different sub domains for this like http://abc.xyz.com with it's own database like abc_xyz.

    I want to display some records from http://abc.xyz.com like news which are daily updated on main...
    See more | Go to post

  • how to call php file in popup window at page loading

    hi,
    its simple but I am confuse how to solve it.

    My problem is that , when i click on menu with link like
    http://xyz.com/example.php

    popup window will display example.php page.

    how to solve it.

    thanks
    vikas...
    See more | Go to post

  • How to reduce the time to download file from server using HTTP connection

    Hi,

    I m facing some critical problem for downloading 5mb file from server. Does anyone know?



    How to reduce the time to download file from server using HTTP connection?



    Code I m using is


    Code:
    HttpConnection URLConn = (HttpConnection) Connector.open(originURL + fileName);
    
            if (URLConn == null) {
    ...
    See more | Go to post
    Last edited by JosAH; Mar 31 '09, 06:43 AM. Reason: fixed the [code] ... [/code] tags

  • vikassawant
    started a topic problem to exicute JAR file
    in Java

    problem to exicute JAR file

    hi,
    I am using external POI package to perform excel import and export task in my project.This package is present at C drive on my machine.
    When I execute this project at command prompt it works well but when I create JAR file of this project,it does not perform only the task which performed with the help of POI package.

    To create JAR file, Is here need to add that POI package in project folder where all .class...
    See more | Go to post

  • how to import excel sheet data in any type of file

    hi,
    It's very crazy problem.I want to import excel sheet data in to JTable but I can't find any solution.

    Actually what I want,suppose there are 7 rows and 5 columns in a table.If I select only 2 rows today and want to select remaining rows afterwords.For that need to save that table data. Now I am storing as a excel file but can't import that file when want to select remaining rows.

    Please tell...
    See more | Go to post

  • vikassawant
    started a topic how to solve java.io.IOException
    in Java

    how to solve java.io.IOException

    hi,
    I am trying to import excel file in JTable.For that I used following code,

    import com.zfqjava.swi ng.*;
    import org.apache.poi. hssf.usermodel. *;
    import org.apache.poi. hssf.usermodel. HSSFSheet;
    import org.apache.poi. hssf.usermodel. HSSFWorkbook;
    import org.apache.poi. poifs.filesyste m.POIFSFileSyst em;


    FileDialog fd=new FileDialog(new Frame());

    ...
    See more | Go to post

  • vikassawant
    replied to how to add jar file
    in Java
    This is the constructor definition which i get from API ,

    public JTableReadTable ModelTask(Objec t urlObject,
    Map readProperties,
    JProgressBar progressBar,
    JTable table)

    Parameters:
    urlObject - a java.io.File or java.net.URL object
    readProperties - ModelIO
    progressBar - a progress...
    See more | Go to post

    Leave a comment:


  • vikassawant
    replied to how to add jar file
    in Java
    yes I make this modification.It works.My code for importing excel file is,

    try {
    String excelFileName = "Team1.xls" ;
    File file = new File(excelFileN ame ); //‘file’ is the file you want to load.
    JProgressBar progressBar = new JProgressBar(); //‘progressB ar’ will show how much data it have loaded.
    JTableReadTable ModelTask task = new JTableReadTable ModelTask(file, null,progressBa r,model);...
    See more | Go to post

    Leave a comment:


  • vikassawant
    replied to how to add jar file
    in Java
    Thanks for reply.

    I am using Editor-JCreator and there is buttons for compilation and execution,which I used.
    See more | Go to post

    Leave a comment:


  • vikassawant
    started a topic how to add jar file
    in Java

    how to add jar file

    hi,
    to solve problem of Importing excel file in to JTable,I used
    JTableReadTable ModelTask class.
    This class in not present in jdk version. Thats why I download one jar file named as...
    datagrid-all.jar.

    In enviornment variables,I set the classpath as
    C:\datagrid\dat agrid-all.jar

    Now also my project give error as Can not find Class Symbol.

    Is here any...
    See more | Go to post

  • vikassawant
    started a topic how to import Excel file to JTable
    in Java

    how to import Excel file to JTable

    Hi,
    I want to import Excel file data in JTable.For that I am using following Code,

    Code:
    String excelFileName = "Team1.xls";
     File file = new File(excelFileName );   //‘file’ is the file you want to load.
     JProgressBar progressBar = new JProgressBar(); 
     JTableReadTableModelTask task = new JTableReadTableModelTask(file, null, progressBar, model);
     task.execute();
    There is...
    See more | Go to post

  • vikassawant
    replied to key event not work after making jar file
    in Java
    Yes. you are Right.

    When I delete all old class files from folder and make new Jar file then it works fine.

    Thanks,
    Vikas Sawant.
    See more | Go to post

    Leave a comment:


  • vikassawant
    started a topic key event not work after making jar file
    in Java

    key event not work after making jar file

    hi,
    I write one file with two buttons.Code for that is as fallow.

    public void actionPerformed (ActionEvent e)
    {
    try
    {

    if(e.getSource( )==cancel)
    {
    frame.hide();

    }

    else if(e.getSource( )==create)
    {

    category[0] =(String)Oone.g etSelectedItem( );
    category[1]...
    See more | Go to post

  • vikassawant
    started a topic problem to write two constructor in a file
    in Java

    problem to write two constructor in a file

    hi,
    I create one file with only one constructor which contain one Frame with GUI.When I create object of that file for getting some values in another file then that GUI is executed.
    I want to divide this in two constructor due to which when I called another constructor for getting values,GUI is not displayed.

    Please help me, I am unable to make this change.

    Thanks,
    Vikas Sawant.
    See more | Go to post

  • thanks Jos,

    I change exception according to you...
    I get the error at same line which I told above... i.e.

    if(s.equals("C" ) || s1.equals("C") || s2.equals("C") || s3.equals("C"))

    but when I change this loop like

    if(s.equals("C" ))

    It works.

    Please tell me what can I do.

    Thanks,
    Vikas...
    See more | Go to post

    Leave a comment:


  • vikassawant
    started a topic how to solve java.lang.NullPointerException
    in Java

    how to solve java.lang.NullPointerException

    hi,
    when I execute following code, I get the java.lang.NullP ointerException

    try
    {

    int cnt=0;
    for(int i=0;i<d;i++)
    {
    String s = dpos[i];
    String s1 = dpos1[i];
    String s2 = dpos2[i];
    String s3 = dpos3[i];

    if(s.equals("C" ) || s1.equals("C") || s2.equals("C") || s3.equals("C"))...
    See more | Go to post

  • vikassawant
    replied to crazy problem..help me.
    in Java
    hi,
    My code for test1.java is as fallow
    [code=java]
    import java.awt.Font;

    public class test1 extends JFrame implements ActionListener
    {

    JFrame frame;
    JLabel lbl= new JLabel();
    String[] offense = { "HR", "RBI", "SB", "AVG"};
    String[] pitching = { "W", "S", "ERA", "WHIP"};
    ...
    See more | Go to post
    Last edited by r035198x; Mar 13 '09, 08:22 AM. Reason: added code tags

    Leave a comment:


  • vikassawant
    started a topic crazy problem..help me.
    in Java

    crazy problem..help me.

    hi,
    My problem is some what crazy for me.

    Let's see,

    I declare one java file named as, test1.java.
    In which i designed required GUI for project i.e 8 combobox,two buttons,etc.

    Second file is automatic.java in which I get the selected values of combobox by creating the object of test1.java file.
    like
    test1 tst=new test();

    ...
    See more | Go to post
No activity results to display
Show More
Working...