User Profile

Collapse

Profile Sidebar

Collapse
vaskarbasak
vaskarbasak
Last Activity: Apr 3 '09, 10:50 AM
Joined: Feb 22 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • vaskarbasak
    started a topic Resize SVG Image

    Resize SVG Image

    Hi all,

    I used a png image for our application and it worked fine.But icon's quality is too bad.So our graphics designer made some svg image.I am trying to resize the image in order to fit all different handsets.Also is it possible to use svg image in TiledLayer.I am using J2me.
    .
    Thanks!
    See more | Go to post

  • vaskarbasak
    started a topic enum set null value

    enum set null value

    hi all,


    I am using mysql db.The table structure is given below.
    Code:
      +-----------------+---------------------------+------+-----+---------+-------+
      | Field           | Type                      | Null | Key | Default | Extra |
      +-----------------+---------------------------+------+-----+---------+-------+
      | bulk_invoice_no | varchar(50)               | NO   | PRI | pmk0    |       |
      | transid
    ...
    See more | Go to post
    Last edited by pbmods; Jan 11 '09, 08:54 PM. Reason: Added CODE tags.

  • vaskarbasak
    started a topic Accessing remote directory???
    in Java

    Accessing remote directory???

    Hi,

    I know the ip address,user name and password of the remote server.Is it possible to access the remote dir/file of the remote pc just like we do to access local file/dir using JFileChooser.An y pointers or critiques would be greatly appreciated.

    Thanks!
    See more | Go to post

  • vaskarbasak
    started a topic Parse EDI File Using java
    in Java

    Parse EDI File Using java

    Hi



    I have to parse EDI File(810 and 855) using core java.

    Can anybody help me in this issue.

    thnx
    vaskar
    See more | Go to post

  • vaskarbasak
    started a topic Setup RMI service on Ant
    in Java

    Setup RMI service on Ant

    Hi all,

    Does anyone have instruction on how to setup rmi service on ant? I'm new to ant, so please elaborate.

    Thanks!
    vaskar
    See more | Go to post

  • vaskarbasak
    started a topic get Unicode range for a given String?
    in Java

    get Unicode range for a given String?

    Hi All,

    1.How can i convert a String to Unicode characters?
    2.Have there any way to get the Unicode range for a given String?

    Thanks!
    vaskar
    See more | Go to post

  • Thanks! At last it is working....
    See more | Go to post

    Leave a comment:


  • here i paste my code.


    public Component getTableCellRen dererComponent( JTable table, Object value,
    boolean isSelected, boolean hasFocus, int row, int column) {
    if (isSelected) {
    setForeground(t able.getSelecti onForeground()) ;
    setBackground(t able.getSelecti onBackground()) ;
    } else {
    setForeground(t able.getForegro und());
    setBackground(t able.getBackgro und());
    ...
    See more | Go to post

    Leave a comment:


  • It is not working...
    See more | Go to post

    Leave a comment:


  • Displaying Chinese and Japanese characters on Swing components.

    Hi,

    I'm having problems displaying Chinese and Japanese characters on Swing components. I know some conversion should be done. Do you have some source code sample or any idea ?

    Thanks!
    vaskar
    See more | Go to post

  • vaskarbasak
    started a topic drawString with Chinese Characters
    in Java

    drawString with Chinese Characters

    Hi all,
    I am trying to display a Chinese string (UTF-8) with
    Graphics2D.draw String() but nothing is displayed.
    here i paste my code

    package com;

    import java.awt.*;
    import java.awt.image. *;
    import java.io.*;
    import javax.imageio.* ;

    public class StringImage {

    public void drawImages(Stri ng data) {
    try {
    byte[] utf8 = data.getBytes(" UTF-8");...
    See more | Go to post

  • vaskarbasak
    started a topic read a file from different line number
    in Java

    read a file from different line number

    Hi All,

    I have a text file.The file size is very big.I have to read the file from different line number.
    e.g

    File test.txt contains 10000000 lines and more.The 1st thread read the file from line 1 to 1000.2 nd thread read the file from line 1100 to 2000.3 rd thread read the file from line 2100 to 3000.. so on.

    Please help me.

    Thanks!
    vaskar
    See more | Go to post

  • vaskarbasak
    replied to marge line
    i need concate all duplicate lines like

    794051400123|CO M|24|MOM|62|SOM |25|RNO|73
    794051413727|CO M|11||MOM|4|RNO |8
    ............

    and save it another file..
    See more | Go to post

    Leave a comment:


  • vaskarbasak
    replied to marge line
    Thanks all!

    601215856422|CO M|0|0|CD|1|3.99
    601215868029|CO M|0|0|CD|1|3.99
    801472092322|CO M|0|0|CD|2|10.9 8
    802097013822|CO M|0|0|CD|2|10.9 8
    601215856422|MO M|0|0|CD|1|3.99
    601215856422|RN O|0|0|CD|1|3.99
    601215856422|SO M|0|0|CD|1|3.99

    but i have to do

    601215856422|MO M|1|3.99|RNO|1| 3.99|SOM|1|3.99 |COM|1|3.99
    801472092322|CO M|0|0|CD|2|10.9 8
    601215868029|CO M|0|0|CD|1|3.99...
    See more | Go to post

    Leave a comment:


  • vaskarbasak
    started a topic creating view and dead lock problem(urgent)

    creating view and dead lock problem(urgent)

    Hi All,

    we have a large table having 60 lakhs and more data.so we are facing a problem when we are executing insert or update query.

    as a result our DB is very slow and sometimes we are facing deadlock , so it is not updated correctly.
    storage engine of this table is Inno DB.

    we want to access this table by creating views of that table.we want to execute insert , update on that view except using...
    See more | Go to post

  • Why do we override the doGet and/or doPost methods instead of the service method

    Hi All,

    1.Why do we override the doGet and/or doPost methods instead of the service method?
    2. We shouldn't synchronize the service method. but what will happen if we do so, except from the performance problem?
    3. why do we need filter in a servlet? When we use servlet filter?

    please help me.

    Thanks!
    vaskar
    See more | Go to post

  • vaskarbasak
    started a topic Thread concept in php
    in PHP

    Thread concept in php

    Hi All,

    What is Thread concept in php?
    We have a requirement that needs to be done through threading concept.
    Please give me some sample code.

    Thanks!
    vaskar
    See more | Go to post

  • Why do we override the doGet and/or doPost methods instead of the service method

    Hi all,

    Why do we override the doGet and/or doPost methods instead of the service method?

    Thanks!
    vaskar
    See more | Go to post

  • vaskarbasak
    started a topic Call Shell Script From java
    in Java

    Call Shell Script From java

    Hi All,

    i want to run shell script from java.shell script run successfully and generate a file.
    But when i want to check the existence of that file,it shows that the file is not present.

    please help me to check the file from java or how could i know the proccess(Shell script) is finished.

    i have given my code below.

    package com;

    import java.io.*;
    import java.util.*;...
    See more | Go to post

  • vaskarbasak
    started a topic marge line

    marge line

    test.text:-
    --------
    601215856422|CO M|0|0|CD|1|3.99
    601215868029|CO M|0|0|CD|1|3.99
    801472092322|CO M|0|0|CD|2|10.9 8
    802097013822|CO M|0|0|CD|2|10.9 8
    601215856422|MO M|0|0|CD|1|3.99
    601215856422|RN O|0|0|CD|1|3.99
    601215856422|SO M|0|0|CD|1|3.99

    ..........

    I have to do
    601215856422|CO M|0|CD|1|3.99|M OM|0|CD|1|3.99| RNO|0|CD|1|3.99
    ....

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