Murali Jaya Rao

Ranch Hand
+ Follow
since Jun 10, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Murali Jaya Rao

Hi,

Actually the folder is placed in the webserver.Based on the number of files in the folder i can go ahead.

Thanks,
Murali.
15 years ago
Hi all,

I have url say (http://10.3.3.40:8080/FolderContents).where FolderContents is a directory which contains some files.
Now i wanna calculate the number files in that directory content.can anyone suggest the solution?

Thanks,
Murali.
15 years ago
Hi all,

I use a JTree in my application which is loaded dynamically.My requirement is to print the data of the tree.I'm able to print but it is printing only the first page. How do i calculate the number of pages?

Thanks,
Murali.
15 years ago
Hi all,

I'm using DOM parser for parsing the xml file in my code and I have been developed a UI such a way that if user edits the data that should rewrite to the xml file.Here,I'm able to write the all the contents back to the xml file but the schema I have written is mentioned statically in my code.

How can i read the xml schema from xml so that the schema i can rewrite to xml after editing the text in UI.Any suggestions please.


Thanks,
Murali.
Hi all
I have developed swings based java application. I have to open some files to UI.I have 2 option, either i can open through open menuitem "Open" or drag the file into UI.While opening the file through menuitem open my application didn't get "Invalid Memory access " , but when i dragged the file into UI i got Invalid Memory access(Bus error) and application is exited.This is in Mac Os only.Other operating system it works fine.And I'm using java 1.5.14 version.
Any suggestions

Thanks
Murali
15 years ago
A small change in subject "Taking more time When loaded UI first time."
15 years ago
Hi all,

I want to open url in various browsers when clicking on the link(say www.sun.com) can anyone suggest the solution.

Thanks,
Murali.
15 years ago
Hi all,

I have developed swing based java application. I have overwritten most of the paintComponent methods for customizing look and feel.

I have 3 xml files, First file consists of background colors(like 123,123,123), foreground colors of various components and other files consists of some data.So, when i load the application first those 3 files must be parsed and loads the application as per the colors in the first xml file.

My issue is while running the application it takes more time as expected to display the UI.Can anyone suggest to improve the performance of UI.

Thanks,
Murali.
15 years ago
Hi all,

I have a JTable in that 2 columns are JComboBox and rest are normal text fields.

My requirement is if i select first comboBox the second should automatically reflected.

I have tried writing the actionPerfomed() method for both but when i click the combobox coloumn jtable returned the row -1.

Suggest any ideas.

Thanks,
Murlai.
15 years ago
I have a class which extends JFrame. The frame must not be resized when the frame reaches to the particular dimension(say for eg: If the size of my screen is 1440x900 then my frame when minimizing if it reaches to 1200x800 it must not be resized).
I have to write frame listeners or i have to implement paint method of the panel in the frame.

- murali
15 years ago
I am new to JUnit test cases,i want to write the test case for a bean classes,can anyone help me regarding on this.

and also when we use assertEquals() method,we will pass 2 arguments one is expected value and another one is the method which returns the value; if we don't know the expected value how can we pass the first argument?

explain me with an example.

Thanks,
Murali.
16 years ago
Hi,

Thanks for your valuable suggestions,now i am able to use Gridbag Layout more conveniently. As peter said, it is one of the toughest layout but it is very needful/helpful than any other layouts.

Once again thanks for suggestions.

Thanks,
Murali.
16 years ago
Hi everyone,

My requirement is, based on the screen size(resolution)components should be aligned properly.Presently I have used GridBagLayout manager to arrange components wherever i need in the frame.But when i minimized or maximized the components are not aligned properly.

so,i want to get resolution of the screen(frame size) at runtime.based on the resolution i can arrange components correctly.

can anyone give me suggestions for this.
16 years ago
Hi all

I have used some components like JRadioButton and JTree. I have also used paintComponent() of JPanel and created those components in this method.When i give repaint() and updateUI() the components in the UI are blinking. How to overcome from this problem.

Thanks
Murali.
16 years ago
Hi all,

while serialization of an object we will store the object in to a file.this is ok. but while specifying the file path it will store in current folder or temp folder of the system.right?

can anyone please tell me is there any way like writing the object in to the file which will store in the jar.

Thanks & Regards,
Murali.
16 years ago