JTable listener problem,  plz. help  code included

hi,
I need help in this JTable. If you run the following code you'll see when you double click in any cell scrollbars will appear if the text is too large for the JTextArea. What I want is when any cell is selected and if the text is too large to fit in the JTextArea I want the scrollbars to appear then. And if I double click in any cell I want some other action to take place. Here is the example code that I got from net and I am trying to play arround with this code. Please run the following code and see what I mean:
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import javax.swing.event.*;
import java.util.*;
import javax.swing.table.*;
import javax.swing.border.*;
public class MyMultiRowTableTest extends JFrame
public MyMultiRowTableTest()
addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent we)
System.exit(0);
getContentPane().setLayout(new BorderLayout());
getContentPane().add(initComponents(), BorderLayout.CENTER);
protected Container initComponents()
JPanel mainPanel = new JPanel(new BorderLayout());
Vector vRows = new Vector();
Vector vColumns = new Vector();
vColumns.add("Column1");
vColumns.add("Column2");
for (int i=0; i<20; i++)
Vector vRow = new Vector(2);
vRow.add(""+(i+1)+". abcdefghijklmnopqrstuvwxyzabcdefghijk" +
"lmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmno" +
"pqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstu" +
"wxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdef" +
"ghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrs"+
"tuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghi" +
"jklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz"+
"abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrs"+
"tuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz");
vRow.add("asldfjasldfjal�dfjal�jdfal");
vRows.add(vRow);
JTable myTable = new JTable(vRows, vColumns);
for (int i=0; i<myTable.getColumnCount(); i++)
TableColumn tc = myTable.getColumn(myTable.getColumnName(i));
if (tc!=null)
tc.setCellRenderer(new MultiLineCellRenderer());
tc.setCellEditor(new MultiLineCellEditor());
myTable.setRowHeight(80);
mainPanel.add(new JScrollPane(myTable));
return mainPanel;
public static void main(String[] args)
JFrame frame = new MyMultiRowTableTest();
frame.setSize(800,600);
frame.setLocation(200,200);
frame.setVisible(true);
}//end of the class MyMultiRowTableTest
class MultiLineCellEditor extends DefaultCellEditor
protected JTextArea myEditingComponent;
public MultiLineCellEditor()
super(new JTextField());
myEditingComponent = new JTextArea();
myEditingComponent.setLineWrap(true);
myEditingComponent.setWrapStyleWord(true);
myEditingComponent.setOpaque(true);
myEditingComponent.addKeyListener(new KeyAdapter()
public void keyPressed(KeyEvent ke)
if ((ke.getKeyCode()==ke.VK_ENTER) && (ke.getModifiers() == ke.CTRL_MASK))
stopCellEditing();
public Object getCellEditorValue()
return myEditingComponent.getText();
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected,
int row, int column)
Component result = super.getTableCellEditorComponent(table,
value, isSelected, row, column);
myEditingComponent.setFont(table.getFont());
myEditingComponent.setText(""+value);
if (value instanceof String)
result = new JScrollPane(myEditingComponent);
return result ;
}//end of the class MultiLineCellEditor
class MultiLineCellRenderer extends JTextArea implements TableCellRenderer
protected final static Border emptyBorder = BorderFactory.createEmptyBorder(1,2,1,2);
protected final static Border focusBorder = UIManager.getBorder("Table.focusCellHighlightBorder");
public MultiLineCellRenderer()
setLineWrap(true);
setWrapStyleWord(true);
setOpaque(true);
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected,
boolean hasFocus, int row, int column)
if (isSelected)
setForeground(table.getSelectionForeground());
setBackground(table.getSelectionBackground());
else
setForeground(table.getForeground());
setBackground(table.getBackground());
setFont(table.getFont());
if (hasFocus)
setBorder(focusBorder);
if (table.isCellEditable(row, column))
setForeground( UIManager.getColor("Table.focusCellForeground") );
setBackground( UIManager.getColor("Table.focusCellBackground") );
else
setBorder(emptyBorder);
if(value==null)
myEditingComponent.setText("");
return new JScrollPane
(myEditingComponent);
setText((value == null) ? "" : value.toString());
return this;
}//end of the class MultiLineCellRenderer
If you see when you double click in the first column the scrollbars will appear as the text is too large. But what I need is that when the cell is selected the scrollbars should appear and when I doubleclick in the cell I want some other action to take place. Please help I really don't understand how this cellrenderer and celleditor works. Any help is really appreciated. And thank you in advance.

hi friend
i tried to solve your problem , but i couldn't clear myself with program logic u used. but your problem can be solved by trying with the following lines.you need to explore the right place in your logic.
int v=ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS;
int h=ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS;
if (value instanceof String)
result = new JScrollPane(myEditingComponent,v,h);
return result ;
in the meanwhile i will try with your code as soon i will get time.
reply me back if it solves the problem
bye

Similar Messages

  • JTable header problem plz help me

    hi
    i want to insert JTable in JTextPane but I have two problems
    i can't do this so any help plz
    1- i want to insert table with header and allow the user to edit (write) on the table header when running the
    program
    2- i want to insert table without header but i want to make the table column still resizable

    hi
    i want to insert JTable in JTextPane but I have two problems
    i can't do this so any help plz
    1- i want to insert table with header and allow the user to edit (write) on the table header when running the
    program
    2- i want to insert table without header but i want to make the table column still resizable

  • Audio Clip problem plz help..

    There is some problem with my code. It is actually for simply playing a wav file.
    It gives errors on two lines....
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.*;
    public class MediaPlayerDemo extends JFrame
         AudioClip clip; //Error Here
         public MediaPlayerDemo(String title)
              super(title);
         clip = getAudioClip(getCodeBase(),"access.wav"); //Error Here
         clip.loop();
         public static void main(String args[])
              MediaPlayerDemo m = new MediaPlayerDemo("Title");
              m.setSize(400,400);
              m.setVisible(true);
    }

    "Audio Clip problem plz help"
    You have to learn to help yourself.
    Have you done anything to try to fix the errors yourself?
    AudioClip clip; //Error Here
    the error generated here is self-explanatory.
    if you can't fix this, you should get a good book on java basics and start again.
    the other error is also easy to fix.

  • Classpath problem plz help me

    hi!
    i am unable to run my RMI server program .Name of My server class is SumServer.java,it implements SumInterface.java all the files(.class,.java and stub) are at location c:\javaprog\rmi\sum.
    I have not put them in any package.
    value of classpath is
    classpath=c:\jdk1.4\lib;.;c:\javaprog\rmi\sum
    i go in sum folder and run the program
    c:\javaprog\rmi\sum > SumServer
    it gives me following exception.plz help me out.
    Thx in advance.
    Exception occur.Unable to register serverjava.rmi.ServerException: RemoteExcepti
    on occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
    tion is:
    java.lang.ClassNotFoundException: SumServer_Stub

    Deepa lakshmi wrote:
    Hi,
    Am new to weblogic.
    Am using the tools are,
    Weblogic8.1 version
    MySql5.0,mysql-connector-java-3.1.12-bin.jar file
    While test configuration of connection pooling am getting the error is "JDBC Driver is not on the classpath".
    How can i solve this problem
    plz help me
    regards
    DeepaEdit the start-weblogic script. Near the bottom, you will see
    lines that create a CLASSPATH for the weblogic server. Add a
    script line that adds the mysql driver to the classpath there.
    Joe

  • JTable problem plz help me urgent

    sir
    i carefully read the swing tutorial for JTable for the purpose
    of rendring specially header rendring.
    first u see the code
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.*;
    import javax.swing.border.*;
    import java.util.*;
    import javax.swing.table.*;
    public class Myscrollpane extends JScrollPane
    ImageIcon icon=new ImageIcon("images/beach1.jpg");
    Image img;
    int w,h,wi,hi;
    TableColumn column = null;
    /*Vector cols=new Vector();
    cols.addElement("Company Code");
    cols.addElement("Company Name");
    String[] names = {"Company Code", "Company Name"};
    DefaultTableModel model=new DefaultTableModel(names,0);
    JTable table=new JTable(model);
    LogoViewport vp;//custom class extends with JViewport
    Myscrollpane(int width,int height)
    vp= new LogoViewport(width,height);
    setOpaque(false);
    setMinimumSize(new Dimension(width,height));
    setPreferredSize(new Dimension(width,height));
    setSize(350,125);
    ///////////here r the table methods to control /////////////////////
    table.setPreferredScrollableViewportSize(new Dimension(width,height));
    table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF );
    table.getTableHeader().setReorderingAllowed(false);
    table.setBackground(new Color(245,235,237));
    table.setForeground(Color.black);
    table.setOpaque(true);
    table.setEnabled(false);
    table.setFont(new java.awt.Font("Dialog", Font.ITALIC, 12));
    table.setGridColor(Color.pink);
    table.setRowHeight(22);
    table.setSelectionBackground(Color.lightGray);
    DefaultTableCellRenderer renderer=new DefaultTableCellRenderer();
    TableColumn code=table.getColumnModel().getColumn(0);
    renderer.setBackground(Color.red);
    ????//if i use the setIcon method then the data comes from the database
    ????//is not shown because the icon paint above the data.
    code.setCellRenderer(renderer);
    TableCellRenderer headerRenderer = table.getTableHeade.().getDefaultRenderer();
    TableColumn column1=null;
    ???//i use this to change the color of header column but it is not work
    for (int j = 0; j < 2; j++) {
    column1 = table.getColumnModel().getColumn(j);
    Component comp = headerRenderer.getTableCellRendererComponent(
    null, column1.getHeaderValue(),
    false, false, 0, 0);
    comp.setBackground(Color.red);
    ???//if i use following it also not work
    TableCellRenderer headerRenderer = table.getTableHeader().
    getDefaultRenderer();
    if (headerRenderer instanceof DefaultTableCellRenderer) {
    ((DefaultTableCellRenderer)headerRenderer).setBackground(Color.red);}
    for (int i = 0; i <=1; i++)
    column = table.getColumnModel().getColumn(i);
    if (i == 0) {
    column.setPreferredWidth(100);
    else
    column.setPreferredWidth(225);
    vp.setView(table);
    this.setViewport(vp);
    plz help me with the code.
    i also want to draw the image on the table with the use of DefaultTabel
    Model and data set from the data base.Initally no row is shown.
    plz help me
    shown(???) are the quesstion which i am unable to solve.
    thanks in advance.

    Formatting the code makes it easier to read, which means more people may attempt to read your code and answer your questions. Click on the "Help" link at the top of the page.
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.table.*;
    public class TableHeader extends JFrame
        public TableHeader()
            JTable table = new JTable(5, 5);
            table.setPreferredScrollableViewportSize(table.getPreferredSize());
            JScrollPane scrollPane = new JScrollPane( table );
            getContentPane().add( scrollPane );
            table.getTableHeader().setBackground( Color.red );
        public static void main(String[] args)
            TableHeader frame = new TableHeader();
            frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
            frame.pack();
            frame.setLocationRelativeTo( null );
            frame.setVisible(true);
    }

  • JTable problem plz help me urgent withDefault TableModel

    sir
    i carefully read the swing tutorial for JTable for the purpose
    of rendring specially header rendring.
    first u see the code
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.*;
    import javax.swing.border.*;
    import java.util.*;
    import javax.swing.table.*;
    public class Myscrollpane extends JScrollPane {
    ImageIcon icon=new ImageIcon("images/beach1.jpg");
    Image img;
    int w,h,wi,hi;
    TableColumn column = null;
    String[] names = {"Company Code", "Company Name"};
    DefaultTableModel model=new DefaultTableModel(names,0);
    JTable table=new JTable(model);
    LogoViewport vp;//user class extends with JViewport
    Myscrollpane(int width,int height){
    vp= new LogoViewport(width,height);
    setOpaque(false);
    setMinimumSize(new Dimension(width,height));
    setPreferredSize(new Dimension(width,height));
    setSize(350,125);
    ///////////here r the table methods tocontrol /////////////////////
    table.setPreferredScrollableViewportSize(new Dimension width,height));
    table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF );
    table.getTableHeader().setReorderingAllowed(false);
    table.setBackground(new Color(245,235,237));
    table.setForeground(Color.black);
    table.setOpaque(true);
    table.setEnabled(false);
    table.setFont(new java.awt.Font("Dialog", Font.ITALIC, 12));
    table.setGridColor(Color.pink);
    table.setRowHeight(22);
    table.setSelectionBackground(Color.lightGray);
    DefaultTableCellRenderer renderer=new DefaultTableCellRenderer();
    TableColumn code=table.getColumnModel().getColumn(0);
    renderer.setBackground(Color.red);
    //if i use the setIcon method then the data comes from the database is
    //not shown because the icon paint above the data.Iwant to paint the
    //image on the table dynamically means as table populated the image is
    //paint on the table means no fix no of rows.How can i
    //do.
    code.setCellRenderer(renderer);
    TableCellRenderer headerRenderer = table.getTableHeade.().getDefaultRenderer();
    TableColumn column1=null;
    //i use this to change the color and paste icon of header column
    //but it is not work
    for (int j = 0; j < 2; j++) {
    column1 = table.getColumnModel().getColumn(j);
    Component comp = headerRenderer.getTableCellRendererComponent(null, column1.getHeaderValue(), false, false, 0, 0);
    comp.setBackground(Color.red);
    comp.setIcon(new ImageIcon("myimage.gif")); }
    //if i use following it also not work
    TableCellRenderer headerRenderer = table.getTableHeader().getDefaultRenderer();
    if (headerRenderer instanceof DefaultTableCellRenderer) {((DefaultTableCellRenderer)headerRenderer).setBackground(Color.red);} vp.setView(table);
    this.setViewport(vp);
    }plz help me with the code.
    stated as above i also want to draw the image on the table with the use of DefaultTabel
    Model and data set from the data base.Initally no row is shown.
    plz help me
    thanks in advance

    import java.awt.*;
    import javax.swing.*;
    import javax.swing.table.*;
    public class TableHeader extends JFrame
        public TableHeader()
            Object[] columnNames =
                new ImageIcon("copy16.gif"),
                "Some Text",
                new ImageIcon("add16.gif")
            //  Columns headings are cast to a String when created automatically.
            //  We want Icons, so use a special renderer and create the columns manually
            JTable table = new JTable();
            table.getTableHeader().setDefaultRenderer( new HeaderRenderer() );
            for (int i = 0; i < columnNames.length; i++)
                TableColumn newColumn = new TableColumn(i);
                newColumn.setHeaderValue( columnNames[i] );
                table.addColumn(newColumn);
            table.setPreferredScrollableViewportSize(table.getPreferredSize());
            JScrollPane scrollPane = new JScrollPane( table );
            getContentPane().add( scrollPane );
        class HeaderRenderer extends DefaultTableCellRenderer
            public Component getTableCellRendererComponent(
                JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int col)
                setBorder(UIManager.getBorder("TableHeader.cellBorder"));
                setHorizontalAlignment(CENTER);
                //  color each cell
                if (col == 1)
                    setBackground( Color.yellow );
                else
                    setBackground( Color.green );
                //  display text or icon
                if (value instanceof Icon)
                    setIcon( (Icon)value );
                    setText( "" );
                else
                    setIcon( null );
                    setText((value == null) ? "" : value.toString());
                return this;
        public static void main(String[] args)
            TableHeader frame = new TableHeader();
            frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
            frame.pack();
            frame.setLocationRelativeTo( null );
            frame.setVisible(true);
    }

  • Report problem plz help

    hi to all
    Using form6i and run in client server. i cant solve this problem please help to all master :
    I have a text item in forms and button. When i type the Customer_Name in text item then all names appears in reports, i want that when i type the name, only that name will appear .
    Please check what is wrong with my code and steps.
    In report wizard, query statement i put "Select * from S_customer"
    then i call the report in forms..
    Report Property pallette:
    Other Parameters=Customer_Name
    Query names=Select * from s_Customer where Customer_Name=:rep(the text item)
    then in forms the button trigger is when button pressed.below is the code:
    declare
    v_Rep varchar2(100);
    repid report_object;
    Begin
    repid := find_report_object('report');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,’s_customer=’||:Dept.rep);
    v_rep := run_report_object(repid);
    end;
    advance tnx to all

    Hi,
    You need to bulid a parameter list.
    This is a code sample to run a report from Forms:
    (Place it on a button when-button-pressed trigger, to run the report).
    DECLARE
         repid REPORT_OBJECT;
         v_rep VARCHAR2(100);
         rep_status VARCHAR2(20);
    -- this is the parameter list
         pl_id ParamList;
    pl_name VARCHAR2(10) := 'tempdata';
    BEGIN
    -- try to find the parameter list
    pl_id := Get_Parameter_List(pl_name);
              IF Id_Null(pl_id) THEN
                   -- if parameter lsit does not exist
                   -- create it
              pl_id := Create_Parameter_List(pl_name);
              IF Id_Null(pl_id) THEN
              Message('Error creating parameter list '||pl_name);
              RAISE Form_Trigger_Failure;
              END IF;
              ELSE
              Message('Parameter list '||pl_name||' already exists!');
              -- destroy it to clear old parameters
              -- and create it again;
              destroy_parameter_list(pl_id);
              pl_id := Create_Parameter_List(pl_name);
              END IF;
    Add_Parameter(pl_id,'p_customer_name',TEXT_PARAMETER,:customer.cust_name);
    -- add as many parameters as needed
    -- finally run the report passing your parameter list
         repid := FIND_REPORT_OBJECT('report4');
         v_rep := RUN_REPORT_OBJECT(repid, pl_id);
                   Exception
                        when others then
                        Message('Error running report. '||sqlerrm, acknowledge);
    END;
    Also, you need to create the parameter in your report:
    1.- Open your report on reports builder.
    2.- Find the "Data Model" node, and the "User parameters" node.
    3.- Create a parameter: p_customer_name
    4.- Modify your sql from:
    Select * from S_customer
    TO:
    Select * from S_customer
    where Customer_Name=:p_customer_name;
    If you want this parameter to be optional, check the reports online help on "Lexical References".
    Have fun,
    Hugo

  • Problem PLZ Help me

    Hi Guys,
    I have a problem to make a developer application Client/Server.
    When i install forms Runtime on the Client`s computer and i open the application, i get the error that he can`t find the menu and the libraries.
    The menu path is for example on my computer F:\s3\Salesmenu
    But on the client it can be a different path an then he can`t find the menu.
    Now the properties for the main form are:
    Menu module f:\s3\Salesmenu
    Initial menu Salemenu
    Does anyone know how to fix this problem for example:
    1) by let the program search for the menu.
    2) .....
    Plz Help
    Vincent

    set your FORMS60_PATH on the client to Formspath;libpath;menupath so it looks in every dir named in the path.

  • Big Problem, PLZ HELP

    So, when i click on the itunes shortcut, which has the same icon as the Apple Software Updater, I get a box that says that iTunes has encountered a problem and needs to close. We are sorry for the inconvenience. I hit send once and sent the error report, and then restarted my computer to see if that would help. It didnt, so, now i cant access itunes this is a major problem cause i have all my songs on this computer. I also tried to plug in my ipod and see if that would make it load.
    I installed iTunes 7.0 on my laptop, the exact same way, and i works on my laptop, but not on my computer.
    PLZ HELP ME

    ok this is what i did when that happened to me. i uninstalled quicktime then went here: http://www.apple.com/quicktime/win.html and reinstalled the latest version :0)

  • Very strange problem plz help////

    user name == scott.
    tablespace name == data and users.
    data tablespace content approx.20 tables.
    users tablespace content approx 5 tables.
    both tables are under scott schema...
    i want to reclaim data tablespace size..
    so first i import complete tablespace data. as system user.
    then after i want to drop data tablespace but i got error...
    SQL> drop tablespace data including contents and datafiles;
    drop tablespace data including contents and datafiles
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02429: cannot drop index used for enforcement of unique/primary key
    plz. sir help how can i drop this tablespace plz. help plz. plz. plz.

    Try
    SQL> drop tablespace data including contents and datafiles cascade constraints;It seems that you have some referential integrity constraints, outside data tablespace, pointing to a table inside data tablespace.

  • Creating user problem----- plz help

    Hii for all....
    I am using oracle 11g . I created a user as student like below....
    SQL> CREATE USER student IDENTIFIED by learn
    2 DEFAULT TABLESPACE users
    3 TEMPORARY TABLESPACE temp;
    User created.
    SQL> grant connect , resource to student;
    Grant succeeded.
    SQL> conn
    Enter user-name: student
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01830: date format picture ends before converting entire input string
    ORA-06512: at line 2
    Warning: You are no longer connected to ORACLE.
    Plz help me how to connect the student User..........

    Thnaks you "ordba " .................
    Can you please explain what is link between the logon trigger and the user creation......
    my trigger code is below.........
    SQL> CREATE OR REPLACE PROCEDURE foo (c VARCHAR2) AS
    2 BEGIN
    3 INSERT INTO audit_table (user_at) VALUES(c);
    4 END;
    5 /
    Procedure created.
    SQL> CREATE OR REPLACE TRIGGER logontrig AFTER LOGON ON DATABASE
    2 -- Just invoke an existing procedure. The ORA_LOGIN_USER is a function
    3 -- that returns information about the event that fired the trigger.
    4 CALL foo (ora_login_user)
    5 /
    Trigger created.

  • Nokia n79 problem Plz Help!

    Hello!My nokia just stuck,or hang in(i dont now english good) but i cant do enything.Evry button just dont work only at start when i write my pi(and somethimes then too).Works only power button.Its weard.Plz help.Somethimes a whole day are no problems somhetimes a whol day.

    hey ivee n everyone else .. i'm facing the same problem.. n i need to fix this problem myself..
    my n79 gets hang constantly nowadays.. i've used this phone for 1 year plus now so warranty's no more..... none of the buttons on the keypad works when it gets hang.. onli the power button is functioning.. now it's gettin worse .. it even hangs before i insert my pincode... i cant sms, call , or anything.. it hangs after i pressed a few buttons..
    so ivee u've fixed ur n79 youself right..? umm.. can u explain to me wat a smallboard is? is that the board at the lower part of the keypad where u can see buttons underneath the white layer? and is that board expensive?
    pls reply asap anyone.. urgent

  • N79 hanging problem plz help....

    while unlocking the keypad of my n79 sometimes the phone gets hanged then i have to take the battery out and then again switch on the phone........plz help me how to get rid of this problem???

    I have also same problem with my Nokia N79, I just cancelled sensor for automatic themes from cover. Just open back cover & stick some paper or plastic cello tape on four hole marks of covers wich r sensor for automatic themes to change colour of back cover same as theme colour. From 2 days I feel my mobile working fine without hanging ! so try it, all the best.

  • Bluetooth connection problem plz help...

    hi everyone, just bought a new pearl 9105. everything works fine and even bluetooth... through which i can transfer data from blackberry to other mobiles(samsung,sony ericsson)... but the problem is i could not recieve data from other mobiles.i should get contacts list from the other mobiles... but due to this problem i couldnt. plz help me out..

    The best way to receive a file from another device via bluetooth is to go to Media, then press Menu, choose Receive Using Bluetooth, waiting for connection will be display, then send from the other device. It should work without hassle.

  • Applet problem plz HELP

    Hi all,
    I have a problem when I am trying to run a jar file from an applet. The jar is for remote desktop application. Jrdp.jar.
    And the Exception is���.
    Exception in thread "Thread-6" java.security.AccessControlException: access denied (java.util.PropertyPermission gnu.posixly_correct read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
    at java.lang.System.getProperty(Unknown Source)
    at gnu.getopt.Getopt.<init>(Getopt.java:617)
    at gnu.getopt.Getopt.<init>(Getopt.java:581)
    at net.propero.rdp.Rdesktop.main(Rdesktop.java:290)
    at net.propero.rdp.applet.RdpThread.run(RdpApplet.java:190)
    can any one suggest me what I have to do???? Plz give your valuable suggestion in that matter. Should I have to do any thing in java.policy file. In that case what would be the syntax and what have allow. If possible plz help me out.
    Thanking you,
    With regards
    Shibaji Sabyal

    Try googling on how to sign your applet. The error you're getting can usually be solved by signing it.

Maybe you are looking for

  • Unable to drop table

    Hello, I'm currently tring to drop a table using a process trigered by a button click Icreated my button and also a "PL/SQL process" and I put DROP TABLE &P0_TABLE_NAME. CASCADE CONSTRAINTS; inside field "source" with ticking the checkbox "Do not val

  • Text field is not working at first time after loading the flash files

    Hi to all,      In my Java application, I'm using a text field and a panel to load flash files. I'm using JDIC 0.9.1 to load the flash files in the panel. The flash files are created by Flash CS4.      While running the application, I can't enter any

  • Query formulas

    Hi All Can anyone please give me a list of query formulas e.g. pulling current date to paste into delivery date then add one day to display tomorrows date. Thanks

  • Problems with Mobile Me System Preferences after installing Snow Leopard

    I installed Snow Leopard yesterday, and noticed that my calendar was no longer syncing between my mac and my iphone. I opened the system preferences/mobile me pane and my .mac account came up, but when I tried to hit the "sync" pane it just froze. It

  • DW crashes when creating new site

    I have tried to build a new site---it was done in Front Page 2003 originally. The "Updating the site cache" stops at 1252 every time. I have deleted the file that it stopped at; and it stopped at update 1252 again but with a different file name. The