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!
User Profile
Collapse
-
Resize SVG Image
-
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
-
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! -
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 -
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 -
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 -
Thanks! At last it is working.... -
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());
...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 -
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");... -
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 -
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..Leave a comment:
-
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...Leave a comment:
-
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... -
vaskarbasak started a topic Why do we override the doGet and/or doPost methods instead of the service methodin JavaWhy 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 -
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 -
vaskarbasak started a topic Why do we override the doGet and/or doPost methods instead of the service methodin JavaWhy 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 -
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.*;... -
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...
No activity results to display
Show More
Leave a comment: