Sachin Dare

Greenhorn
+ Follow
since May 04, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Sachin Dare



Output - False.


Why hashcode is different here if both are calculated on the same String
1 year ago
Hello World,
We have one very old Java application written in Jdk 1.3. We want to upgrade that application to Java 7.
Does this migration process will be manual (try – error – fix) sort of process or is there any tool available which can tell me upfront what are the code changes needed, what are the dependencies needs to be upgraded etc.
If there is any such tool please let me know.
Thanks in advance.
9 years ago
Hi All,

My question is regarding the connection between Web server(Tomcat) and Application Server(JBoss).

Below is the situation -

On Tomcat server I have one Servlet and one service class. Service class delegates the request to EJB (which is on JBoss App server). On JBoss application server I have stateless session beans. Since its stateless session beans instances are already pooled. So, whenever I give the call from service class, one of the instances from pool will get assign.

Now my question is when the connection between Tomcat and JBoss will get released?
a. When instance gets back to pool?
b. When all the pooled instances are garbage collected by container?

Thanks in advance for your help.

Regards,
Sachin Dare.
Hello World,
I want to use the replace action on some conditions, I am not able to do the conditioning part.
Kindly help me in this. I do not want to use Ant Contrib for this.
I want something like this -

<if environment-type="Dev">
<replace file="${dir.src}/log4j.xml" token="@@@" value="DEBUG"/>
</if>

<if environment-type="QA">
<replace file="${dir.src}/log4j.xml" token="@@@" value="INFO"/>
</if>

<if environment-type="Prod">
<replace file="${dir.src}/log4j.xml" token="@@@" value="WARN"/>
</if>

Thanks a lot in advance.
Regards,
Sachin Dare.
12 years ago
Hello World,

Currently I am working on one system. In development we are using Tomcat server. But in production we are using Apache as a load balancer and Tomcat as web server. Our Architecture has a problem of "Sticky Session" i.e. the request of particular user always goes to particular server. I have some questions in my mind -

1. Does the sticky sessions are always harmful? If not what is the scenario when we require having sticky sessions.

2. To avoid the sticky session we are planning to shift session management on Apache. Does this require any code changes or will it be just a configuration change?
It will be great if anyone can explain me the process of shifting session management from Tomcat to Apache.

Thanks a lot for your kind suggestions in advance.
Thanks and Regards,
Sachin Dare.

12 years ago
Hello World,

Currently I am working on one system. In development we are using Tomcat server. But in production we are using Apache as a load balancer and Tomcat as web server. Our Architecture has a problem of "Sticky Session" i.e. the request of particular user always goes to particular server. I have some questions in my mind -

1. Does the sticky sessions are always harmful? If not what is the scenario when we require having sticky sessions.

2. To avoid the sticky session we are planning to shift session management on Apache. Does this require any code changes or will it be just a configuration change?
It will be great if anyone can explain me the process of shifting session management from Tomcat to Apache.

Thanks a lot for your kind suggestions in advance.
Thanks and Regards,
Sachin Dare.
12 years ago
Hello All,

I want below output when the input String is "INDIA"

Please help me.




Thanks and Regards,
Sachin Dare.
13 years ago
Hello World,
I am new to Hibernate. I have created composite primary key like
<composite-id name="applicationPK" class="com.test.alert.ApplicationPK" >
<key-property name="alert_id" column="ALERT_ID" type="int" />
<key-property name="cn" column="CN" type="int" />
</composite-id >

And my Primary Key class like

public class ApplicationPK implements Serializable {
private int alertId;
private int cn;
//getter setter for above fields.
}

And POJO class looks like this –

public class AlertUserVO {
private int alertId;
private int cn;
private String status;
private ApplicationPK compositePK;

// getter setter of above fields.
}

And in my test class I have following code for inserting record –

//Hibernate code for getting session, transaction etc.
AlertUserVO obj = new AlertUserVO();
ApplicationPK compositePK = new ApplicationPK();
compositePK.setAlertId(11);
compositePK.setCn(19);

obj.setStatus(“Test”);
obj.setCompositePK(compositePK);

The problem here is it’s always setting values for alert_id and cn as zero.
But if instead I use following code it sets values properly –

alertUserVO.setAlertId(12);
alertUserVO.setCn(9);

Why it is picking up the values from POJO class instead of PK class.
Is there any way to take the values from PK class?

Please help me.
Ok, I have done it anyway,
Here is the code snippet.

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.table.*;
import java.util.*;
import java.text.*;



public class Frame1 extends JFrame
{

BorderLayout borderLayout1 = new BorderLayout();


Object header[] = {"Jan","Feb","Mar","Apr"};
Object[][] data = {
{new Integer(14), new Integer(12), new Integer(134), new Integer(12) },
{new Integer(5), new Integer(3), new Integer(7), new Integer(2) },
{new Integer(8), new Integer(12), new Integer(123), new Integer(34)},
{new Integer(0), new Integer(0), new Integer(1), new Integer(2)}
};

private JPopupMenu popupmenu = null;
private DefaultTableModel model = null;
private SortFilterModel sortModel = null;
private JTable jTable1 ;

public Frame1()
{
super();
try
{
jbInit();
}
catch (Exception e)
{
e.printStackTrace();
}
}

public Vector getColumnNameVector()
{
Vector columnVector = new Vector();
for(int i=0;i<header.length;i++)
{
columnVector.addElement(header[i]);
}
return columnVector;
}
private void jbInit() throws Exception
{
model = new DefaultTableModel(data,header);
sortModel = new SortFilterModel(model);
jTable1 = new JTable(sortModel);
sortModel.addMouseListener(jTable1);

jTable1.setCellSelectionEnabled(true);
jTable1.setBackground(Color.pink);
jTable1.setAutoCreateColumnsFromModel(false);

jTable1.add(getJPopupMenu());
jTable1.addMouseListener(new MouseListenerHandler());

JScrollPane scrollPane = new JScrollPane();
scrollPane.setViewportView(jTable1);
scrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
scrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);


this.setTitle("Sort Table.");

getContentPane().setLayout(borderLayout1);
this.setSize(new Dimension(400, 300));
this.setBackground(Color.white);
getContentPane().add(scrollPane, BorderLayout.CENTER);
}



public JPopupMenu getJPopupMenu()
{
if(popupmenu == null)
{
popupmenu = new JPopupMenu();
JMenuItem menuitem = new JMenuItem("Sort");
menuitem.addActionListener(new ActionListenerHandler());
popupmenu.add(menuitem);
}
return popupmenu;
}
class MouseListenerHandler extends MouseAdapter
{
public void mousePressed(MouseEvent e)
{
if(e.getButton() == MouseEvent.BUTTON3)
{
System.out.println(e.getButton());
popupmenu.show(e.getComponent(),e.getX(), e.getY());
}
}
}

class ActionListenerHandler implements ActionListener
{
public void actionPerformed(ActionEvent ae)
{
System.out.println("Button Clicked....");
SortSelection obj = new SortSelection(null,"Sort",true);

ArrayList selectionList = obj.getSelectionList();

if(selectionList != null)
{
ArrayList selectedColumnList = (ArrayList)selectionList.get(0);
ArrayList radioSelectionList = (ArrayList)selectionList.get(1);

for(int i=0;i<selectedColumnList.size(); i++)
{
System.out.println(selectedColumnList.get(i));
System.out.println(radioSelectionList.get(i));

int columnNumber = Integer.parseInt((String)selectedColumnList.get(i));
boolean ascendingFlag = ((Boolean)radioSelectionList.get(i)).booleanValue();
sortModel.sort(columnNumber, ascendingFlag);
}
}
}
}

public static void main(String args[])
{
Frame1 myframe=new Frame1();
myframe.setSize(new Dimension(250,250));
myframe.setVisible(true);
}


}


class SortFilterModel extends AbstractTableModel
{
private TableModel model;
private int sortColumn;
private Row[] rows;


public SortFilterModel(TableModel m)
{
model = m;
int rowCount = model.getRowCount();

rows = new Row[rowCount];
for(int i=0;i<rows.length;i++)
{
rows[i] = new Row();
rows[i].index = i;
}
}

public void sort(int c, boolean ascendingFlag)
{
sortColumn = c;
for(int i=0;i<rows.length;i++)
{
rows[i].setAscendingFlag(ascendingFlag);
}
Arrays.sort(rows);
fireTableDataChanged();
}


public void addMouseListener(final JTable table)
{
table.getTableHeader().addMouseListener(new MouseAdapter()
{
public void mouseClicked(MouseEvent me)
{
int clickCount = me.getClickCount();
if(clickCount == 2)
{
System.out.println("Double Clicked.......");
int tableColumn = table.columnAtPoint(me.getPoint());
int modelColumn = table.convertColumnIndexToModel(tableColumn);
sort(modelColumn, true);
}
}
});
}


public int getRowCount()
{
return(model.getRowCount());
}

public int getColumnCount()
{
return(model.getColumnCount());
}

public Object getValueAt(int row, int column)
{
return(model.getValueAt(rows[row].index, column));
}

public void setValueAt(Object value, int row, int column)
{
model.setValueAt(value, row, column);
}

public boolean isCellEditable(int r, int c)
{
return false;
}
public String getColumnName(int c)
{
return model.getColumnName(c);
}
public Class getColumnClass(int c)
{
return model.getColumnClass(c);
}



private class Row implements Comparable
{
public int index;
private int sortResult;
private boolean ascending = true;

public void setAscendingFlag(boolean ascendingFlag)
{
ascending = ascendingFlag;
}
public int compareTo(Object other)
{
try
{
Row otherRow = (Row)other;
Object a = model.getValueAt(index, sortColumn);
Object b = model.getValueAt(otherRow.index, sortColumn);
if(a instanceof Comparable)
{
if(ascending == true)
{
sortResult = ((Comparable)a).compareTo(b);
}
else
{
sortResult = ((Comparable)b).compareTo(a);
}
}
else
{
if(ascending == true)
{
sortResult = index - otherRow.index;
}
else
{
sortResult = otherRow.index - index;
}
}
}
catch(Exception e)
{
e.printStackTrace();
}
return sortResult;
}
}

}


import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.*;
import java.util.*;


public class SortSelection extends JDialog
{
Container cont = getContentPane();

private JComboBox firstColumnCombo = null;
private JComboBox secondColumnCombo = null;
private JComboBox thirdColumnCombo = null;

private JPanel firstSelectionPanel = null;
private JPanel secondSelectionPanel = null;
private JPanel thirdSelectionPanel = null;
private JPanel buttonPanel = null;

private JButton okButton = null;
private JButton cancelButton = null;
private ActionEventHandler handler = new ActionEventHandler();

private JRadioButton firstAscendingRadioButton = null;
private JRadioButton secondAscendingRadioButton = null;
private JRadioButton thirdAscendingRadioButton = null;

private JRadioButton firstDescendingRadioButton = null;
private JRadioButton secondDescendingRadioButton = null;
private JRadioButton thirdDescendingRadioButton = null;


private ArrayList selectionList = null;

public SortSelection(Frame owner, String title, boolean modal)
{
super(owner, title, modal);
cont.setLayout(null);
setSize(290,304);
addComponents();
setVisible(true);
}

public void addComponents()
{
cont.add(getFirstSelectionPanel());
cont.add(getSecondSelectionPanel());
cont.add(getThirdSelectionPanel());
cont.add(getButtonPanel());
}

public JComboBox getFirstColumnCombo()
{
if(firstColumnCombo == null)
{
firstColumnCombo = new JComboBox(getColumnNameVector());
firstColumnCombo.setBounds(10,25,130,25);
}
return firstColumnCombo;
}

public JComboBox getSecondColumnCombo()
{
if(secondColumnCombo == null)
{
secondColumnCombo = new JComboBox(getColumnNameVector());
secondColumnCombo.setBounds(10,25,130,25);
}
return secondColumnCombo;
}

public JComboBox getThirdColumnCombo()
{
if(thirdColumnCombo == null)
{
thirdColumnCombo = new JComboBox(getColumnNameVector());
thirdColumnCombo.setBounds(10,25,130,25);
}
return thirdColumnCombo;
}

public JPanel getFirstSelectionPanel()
{
if(firstSelectionPanel == null)
{
firstSelectionPanel = new JPanel();
firstSelectionPanel.setLayout(null);
firstSelectionPanel.setBounds(2,0,278,72);
firstSelectionPanel.setBorder(new TitledBorder("Sort by "));
firstSelectionPanel.add(getFirstColumnCombo());
firstSelectionPanel.add(getFirstAscendingRadioButton());
firstSelectionPanel.add(getFirstDescendingRadioButton());

ButtonGroup groupFirst = new ButtonGroup();
groupFirst.add(getFirstAscendingRadioButton());
groupFirst.add(getFirstDescendingRadioButton());
}
return firstSelectionPanel;
}

public JPanel getSecondSelectionPanel()
{
if(secondSelectionPanel == null)
{
secondSelectionPanel = new JPanel();
secondSelectionPanel.setLayout(null);
secondSelectionPanel.setBounds(2,74,278,72);
secondSelectionPanel.setBorder(new TitledBorder("Then by "));
secondSelectionPanel.add(getSecondColumnCombo());
secondSelectionPanel.add(getSecondAscendingRadioButton());
secondSelectionPanel.add(getSecondDescendingRadioButton());

ButtonGroup groupSecond = new ButtonGroup();
groupSecond.add(getSecondAscendingRadioButton());
groupSecond.add(getSecondDescendingRadioButton());

}
return secondSelectionPanel;
}

public JPanel getThirdSelectionPanel()
{
if(thirdSelectionPanel == null)
{
thirdSelectionPanel = new JPanel();
thirdSelectionPanel.setLayout(null);
thirdSelectionPanel.setBounds(2,148,280,72);
thirdSelectionPanel.setBorder(new TitledBorder("Then by "));
thirdSelectionPanel.add(getThirdColumnCombo());
thirdSelectionPanel.add(getThirdAscendingRadioButton());
thirdSelectionPanel.add(getThirdDescendingRadioButton());

ButtonGroup groupThird = new ButtonGroup();
groupThird.add(getThirdAscendingRadioButton());
groupThird.add(getThirdDescendingRadioButton());
}
return thirdSelectionPanel;
}

public JPanel getButtonPanel()
{
if(buttonPanel == null)
{
buttonPanel = new JPanel();
buttonPanel.setLayout(null);
buttonPanel.setBounds(2,222,280,72);
buttonPanel.add(getOkButton());
buttonPanel.add(getCancelButton());
}
return buttonPanel;
}

public JButton getOkButton()
{
if(okButton == null)
{
okButton = new JButton("Ok");
okButton.setBounds(60,8,80,25);
okButton.addActionListener(handler);
}
return okButton;
}

public JButton getCancelButton()
{
if(cancelButton == null)
{
cancelButton = new JButton("Cancel");
cancelButton.setBounds(141,8,80,25);
cancelButton.addActionListener(handler);
}
return cancelButton;
}


// Code for getting RadioButtons.


public JRadioButton getFirstAscendingRadioButton()
{
if(firstAscendingRadioButton == null)
{
firstAscendingRadioButton = new JRadioButton("Ascending");
firstAscendingRadioButton.setSelected(true);
firstAscendingRadioButton.setBounds(155,17,100,25);
}
return firstAscendingRadioButton;
}

public JRadioButton getSecondAscendingRadioButton()
{
if(secondAscendingRadioButton == null)
{
secondAscendingRadioButton = new JRadioButton("Ascending");
secondAscendingRadioButton.setSelected(true);
secondAscendingRadioButton.setBounds(155,17,100,25);
}
return secondAscendingRadioButton;
}

public JRadioButton getThirdAscendingRadioButton()
{
if(thirdAscendingRadioButton == null)
{
thirdAscendingRadioButton = new JRadioButton("Ascending");
thirdAscendingRadioButton.setSelected(true);
thirdAscendingRadioButton.setBounds(155,17,100,25);
}
return thirdAscendingRadioButton;
}

public JRadioButton getFirstDescendingRadioButton()
{
if(firstDescendingRadioButton == null)
{
firstDescendingRadioButton = new JRadioButton("Descending");
firstDescendingRadioButton.setBounds(155,37,100,25);
}
return firstDescendingRadioButton;
}

public JRadioButton getSecondDescendingRadioButton()
{
if(secondDescendingRadioButton == null)
{
secondDescendingRadioButton = new JRadioButton("Descending");
secondDescendingRadioButton.setBounds(155,37,100,25);
}
return secondDescendingRadioButton;
}

public JRadioButton getThirdDescendingRadioButton()
{
if(thirdDescendingRadioButton == null)
{
thirdDescendingRadioButton = new JRadioButton("Descending");
thirdDescendingRadioButton.setBounds(155,37,100,25);
}
return thirdDescendingRadioButton;
}


public Vector getColumnNameVector()
{
//Frame1 obj = new Frame1();
//return (obj.getColumnNameVector());

Vector columnVector = new Vector();
//columnVector.addElement("SELECT");
columnVector.addElement("Jan");
columnVector.addElement("Feb");
columnVector.addElement("Mar");
columnVector.addElement("Apr");
return columnVector;
}

public ArrayList getSelectionList()
{
if(selectionList != null)
{
return selectionList;
}
return null;
}

class ActionEventHandler implements ActionListener
{
public void actionPerformed(ActionEvent ae)
{

if(ae.getSource() == getOkButton())
{
if(selectionList == null)
{
selectionList = new ArrayList();

ArrayList comboSelectionList = new ArrayList();
ArrayList radioSelectionList = new ArrayList();




if(!(((String)getFirstColumnCombo().getSelectedItem()).equalsIgnoreCase("SELECT")))
{
comboSelectionList.add("" + getFirstColumnCombo().getSelectedIndex());
if(getFirstAscendingRadioButton().isSelected() == true)
{
radioSelectionList.add(new Boolean(true));
}
else
{
radioSelectionList.add(new Boolean(false));
}
}

if(!(((String)getSecondColumnCombo().getSelectedItem()).equalsIgnoreCase("SELECT")))
{
comboSelectionList.add("" + getSecondColumnCombo().getSelectedIndex());
if(getSecondAscendingRadioButton().isSelected() == true)
{
radioSelectionList.add(new Boolean(true));
}
else
{
radioSelectionList.add(new Boolean(false));
}
}

if(!(((String)getThirdColumnCombo().getSelectedItem()).equalsIgnoreCase("SELECT")))
{
comboSelectionList.add("" + getThirdColumnCombo().getSelectedIndex());
if(getThirdAscendingRadioButton().isSelected() == true)
{
radioSelectionList.add(new Boolean(true));
}
else
{
radioSelectionList.add(new Boolean(false));
}
}
selectionList.add(comboSelectionList);
selectionList.add(radioSelectionList);
selectionList.trimToSize();
dispose();
}
}
if(ae.getSource() == getCancelButton())
{
SortSelection.this.dispose();
}
}
}

}
20 years ago
Hello World,
I have a class which sorts the table, on a column where user double clicks. This works fine. But now what I want instead of single column selection there will be some gui from which user can select multiple columns and table should get sorted on all those column.
Can anybody help me out how to do the sorting on multiple columns? I would appriciate if some one send me code.
Regards,
Sachin Dare.

Here is my existing code.

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.table.*;
import java.util.*;
import java.text.*;
public class Frame1 extends JFrame {
BorderLayout borderLayout1 = new BorderLayout();
JTable jTable1 ;
Object header[] = {"Jan","Feb","Mar","Apr"};
Object[][] data = {
{new Integer(14), new Integer(12), new Integer(134), new Integer(12) },
{new Integer(5), new Integer(3), new Integer(7), new Integer(2) },
{new Integer(8), new Integer(12), new Integer(123), new Integer(34)},
{new Integer(0), new Integer(0), new Integer(1), new Integer(2)}
};
public Frame1() {
super();
try {
jbInit();
} catch (Exception e) {
e.printStackTrace();
}
}
private void jbInit() throws Exception {
DefaultTableModel model = new DefaultTableModel(data,header);
SortFilterModel sortModel = new SortFilterModel(model);
jTable1 = new JTable(sortModel);
sortModel.addMouseListener(jTable1);
jTable1.setCellSelectionEnabled(true);
jTable1.setBackground(Color.pink);
jTable1.setAutoCreateColumnsFromModel(false);
JScrollPane scrollPane = new JScrollPane();
scrollPane.setViewportView(jTable1);
scrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEE DED);
scrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED) ;
this.setTitle("Sort Table.");
getContentPane().setLayout(borderLayout1);
this.setSize(new Dimension(400, 300));
this.setBackground(Color.white);
getContentPane().add(scrollPane, BorderLayout.CENTER);
}
public static void main(String args[]) {
Frame1 myframe=new Frame1();
myframe.setSize(new Dimension(250,250));
myframe.setVisible(true);
}
}

class SortFilterModel extends AbstractTableModel {
private TableModel model;
private int sortColumn;
private Row[] rows;
public SortFilterModel(TableModel m) {
model = m;
int rowCount = model.getRowCount();
rows = new Row[rowCount];
for(int i=0;i<rows.length;i++) {
rows = new Row();
rows.index = i;
}
}
public void sort(int c) {
sortColumn = c;
Arrays.sort(rows);
fireTableDataChanged();
}
public void addMouseListener(final JTable table) {
table.getTableHeader().addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent me) {
int clickCount = me.getClickCount();
if(clickCount == 2) {
System.out.println("Clicked.......");
int tableColumn = table.columnAtPoint(me.getPoint());
int modelColumn = table.convertColumnIndexToModel(tableColumn);
sort(modelColumn);
}
}
});
}
public int getRowCount() {
return(model.getRowCount());
}
public int getColumnCount() {
return(model.getColumnCount());
}
public Object getValueAt(int row, int column) {
return(model.getValueAt(rows[row].index, column));
}
public void setValueAt(Object value, int row, int column) {
model.setValueAt(value, row, column);
}
public boolean isCellEditable(int r, int c) {
return false;
}
public String getColumnName(int c) {
return model.getColumnName(c);
}
public Class getColumnClass(int c) {
return model.getColumnClass(c);
}
private class Row implements Comparable {
public int index;
private int sortResult;
public int compareTo(Object other) {
try {
Row otherRow = (Row)other;
Object a = model.getValueAt(index, sortColumn);
Object b = model.getValueAt(otherRow.index, sortColumn);
if(a instanceof Comparable) {
sortResult = ((Comparable)a).compareTo(b);
} else {
sortResult = index - otherRow.index;
}
} catch(Exception e) {
e.printStackTrace();
}
return sortResult;
}
}
}
20 years ago
class Test
{
public static void main(String[] args)
{
try {
String cmd[] = new String[3];
cmd[0]= "cmd.exe";
cmd[1]= "/C";
cmd[2]= "Hi.bat";
Process p = Runtime.getRuntime().exec(cmd);
if(p != null){
System.out.println(p.exitValue());
}
}catch(Exception e){
e.printStackTrace();
}
}
}


Hello World,
I have written the simple program which executes the batch file. Now I want to check if the execution of batch file is successful or not. On failure of the batch file I want to show some messages to user. For that I am using exitValue() function but its throwing IllegalThreadStateException exception always.


java.lang.IllegalThreadStateException: process has not exited
at java.lang.Win32Process.exitValue(Native Method)
at Test.main(Test.java:16)


How should I do this? Expert, Please comment.

Regards,
Sachin Dare.
20 years ago
Hello World,
I want to make button enable only if the laptop is connected to a network as soon as user disconnects, button should also get disable.
How can I detect that my machine is on network in Java application. And how should I
trap the event when it is disconnected or connected. Does system tray�s LAN icon by any means going provide me any help, if yes then how to use that.
Experts, please suggest, eagerly waiting for your reply,

(Sorry I am posting the same topic at two locations because not able to take decision of dificulty level of problem. )

Thanks and Regards,
Sachin Dare.
20 years ago
Hello World,
I want to make button enable only if the laptop is connected to a network as soon as user disconnects, button should also get disable.
How can I detect that my machine is on network in Java application. And how should I
trap the event when it is disconnected or connected. Does system tray�s LAN icon by any means going provide me any help, if yes then how to use that.
Experts, please suggest, eagerly waiting for your reply,

Thanks and Regards,
Sachin Dare.
20 years ago
Hello World,
I am using VisualAge for Java 4.0 Professional Edition. It uses Jdk1.2.2. Now my client has requirement that they want Jdk1.4.2.
Can I change the version of the Jdk in VisualAge by any means?
If that is not possible can I migrate to Eclipse? (I don't want to go to WebSphere Studio since Eclipse is free :-) )
I have .dat files with me can I directly import .dat file which is created in VAJ in Eclipse. How?
Thanks and Regards,
Sachin Dare.