Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!

Anusha Jv

Greenhorn
+ Follow
since Jul 26, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Anusha Jv

I packed all my classes and resourecs in a jar but following line gives a null Player:
Manager.createPlayer(getClass().getResource("/midi/SplashScreen.mid"));
It works when I run outside Jar.
In addition, I checked the output of gerResource, and it gives the url like:"Jar:File:.....MainClass.Jar!/midi/SplashScreen.mid". The mid file is in the jar file in the right place.
Thanks for help
18 years ago
Hi All,

I have my Applet that runs using Web Start.
Here it is possible to specify static parameters for the Applet in <applet-desc>tag and that works fine.
But my applet requries dynamic data as parameter
(i.e)The applet tag is in the .php file that retrieves data from server to the applet and not .html file.
Please explain how this can be done
Thanx
Anu
18 years ago
I need to resize the
cellrenderer of JList which is a JTextArea, but I need the word wrapping and I don't know the height of the cell.What must be done
Please give any suggestions
Thanks
18 years ago
I have used a JLabel with HTML tag. in the List.
But wrapping does not take place.
It is not possible to insert BR tag inbetween as the datas are dynamic from database.
When a label is used seperately wrapping works well but it does not work in the List.However if setPreferredSize is used for label then wrapping takes place but this is also not possible to set the size.
18 years ago
Hi all,
I want to render multiline data in each cell of the JList.
How can this be done.
I made use of JLabel rendered in the List by automatic wrapping does not take place.The List is in a scrollpane and this frame is resizable.
18 years ago
Hi friends,
I have a small window in drag layer and once the window is visible all the panels in the other layers must be inactive.
(i.e)I have to set Modality true for that small window.
Once a OK button in the small window is clicked this window must disapper and other panels become active
I have tried it out with setting visibity for the glasslayer and adding mouselistener without any action to be performed.Now the panels in all layers including the drag layer also becomes inactive as the glass layer is the topmost one.
How should this be solved.
Please help me at the earliest.

Anu
19 years ago
Thanks It works fine.
19 years ago
Hi all,
I have two String(TextField value) which take floating point value.
I want to compare them by rounding.
Please tell the way to do it.
Thanks
19 years ago
Hi all,
I want to merge two columns in JTable
Pls help me in doing so.

Thanks
Anu
19 years ago
Hi,
I have to send mail from java.I have a button which when clicked calls the method given below for sending
the mail.
The mail panel is over an Applet.
When i minimise the appletviewer or move to another window in the case of browser,I just see a blank
panel(
everything whitein color) until the mail has been sent successfully.
What might be the problem.I first tried without runnable
Still same problem.
What must be done.......
Expecting the reply very urgent

private void sendEmail()
{
email.jButEmail[0].setCursor(
Cursor.getPredefinedCursor(
Cursor.WAIT_CURSOR));
final StartApplet ap=new StartApplet();
ap.repaint();
SwingUtilities.invokeLater(
new Runnable()
{
public void run()
{
String strFrom=ap.getUserEmail();
String strTo=ap.getEmailAdresses(jRadioButEmail[intSelectedRB].getText());
sm.debug=true;
sm.setHost(DataProvider.getHost());
sm.setFROM(strFrom);
sm.setTO(strTo);
sm.setSubject(jTFSubject.getText());
sm.setMessage(jEPContent.getText());
sm.setAttachment(strFile);
ap.repaint();
sm.send();
ap.repaint();
strTo=null;
strFrom=null;
jTFSubject.setText("");
jEPContent.setText("");
JOptionPane.showMessageDialog(jFramefrm,
"Mail has been sent successfully.");
}
});
ap.repaint();
email.jButEmail[0].setCursor(
Cursor.getPredefinedCursor(
Cursor.DEFAULT_CURSOR));
}
19 years ago
Hi all,
I have a problem in getting focus for a textfield.
I have given requestFocus() and also getCaret().setVisible(true)
I am able to see the cursor but there is no focus for the textfield.
I have included TF.requestFocus() and TF.getCaret().setVisible(true) when I add that TF to a panel in the constructor.
What is the problem with my coding.
Thanks in advance.
Anu
19 years ago
Hi all,
I have a JApplet with a Jwindow where a textfield and Editorpane are placed.When i run the application in Browser I dont get the cursor in the both but i am able to type in them,However there is no problem in appletviewer.
Pls inform me the mistake I have made or do i require any FocusEvent
19 years ago
Hi all,
I have an application that runs in the JApplet.I have to pass data b/w server and applet.The datas are brought from the server using php to the browser and passed to applet using param tags.
1.Is it possible to set value for the param tag from applet?
2.How to retrieve data from the param tag to the applet in the form of an array.
In the getParameter it is required to specify the param name.
Is it possible to retrieve data from param tag similar to that of getting data from command line arguments array.
19 years ago
Mary,

Did u try this out.
It works for me!
19 years ago
Hi all,
I have to download a PDF file into the client machine from an applet.The file is PDF file is located in the server.
Similar to Download option in the Browser
19 years ago