JavaFX 2.0 :: Slow Performance On Linux For Visual Effects

Mar 6, 2015

Visual effects such as Transitions perform very poor on linux "wheezy" compared to windows. I noticed this on different PC's, checked for Java7 and Java8. If the UI contains many objects then the transition sometimes does not even appear.
 
I do not think this is graphic card related since videos play quite ok.
 
I use the default ATI driver without Xorg.conf file and  installed the xcompmgr
 
and tried several options, such as
 
Option "Composite" "Enable"
or
Option        "backingstore" "true"   
Option        "AllowGLXWithComposite" "true"
 
This did not speed up things, are there other things that I could do to improve the performance ?

View Replies


ADVERTISEMENT

JavaFX 2.0 :: Slow GUI Response When First Displaying Controls

Jun 15, 2015

I have been using JavaFX for some time now and have encountered many performance issues, mainly with the initial display of GUI elements.  For example, a simple stage with a table view (with about 10 columns) and chart takes about 5 seconds to display.  A color picker will take about 3 seconds from the time I click the control to when it displays the pallet.  This only happens when the controls are first displayed.  This can't be right.  I have searched and none seems to have a similar problem so I thought I would ask here just to make sure.  Here is a sample Hello world that shows the problem with the color picker (takes ~ 3 seconds to show pallet when clicked). 
 
public class HelloWorld extends Application
{
    @Override
    public void start(Stage primaryStage) {
        StackPane root = new StackPane();
        ColorPicker cp = new ColorPicker();
        root.getChildren().add(cp);

[Code] .....

View Replies View Related

JavaFX 2.0 :: UI Not Fully Updated After Transitions (only On Linux)

Feb 27, 2015

After a transition of an object  the UI is not fully updated. One can still see "lines" from the "movement". This only happens on Linux (Debian) and not on Windows. Is this a known issue that has been fixed in later Javafx releases ? I am still using Java7 because of WinXP support

View Replies View Related

JOptionPane Hover Effects?

Jul 14, 2014

Just wondering if there was a way to change a JOptionPane's display message dependent on the button the user is hovering over. I.e.: Hover option1, shows one message; hover option2, shows a different message, etc.. but within the same JOptionPane (not showing a new one).

View Replies View Related

I/O / Streams :: Deserializing Visual Basic 6 Files In Java?

Jan 27, 2012

I have to be able to read files that have been serialized in VB. 2 things, 1 they are serialized in Binary, and I tried to look up on how to serialize/deserialize in Binary, but didn't have much support...

Also in the VB code they talk about "TYPES" which seems to be to just be a class full of stuff...

View Replies View Related

Web Application Performance Monitoring

Jul 28, 2011

I want to monitor performance of web application, running in java JVM(Java version 1.5.0_22) using tomcat web server, for a given functionality want to find, methods and sql queries how much time taking for execution. i am looking for setting and free tools available.

View Replies View Related

Scalability And Its Relation To Performance

Mar 7, 2014

Have you ever did a design for an application with requirements such as X number of anticipated users of the application in the next 5 years, and should still perform as expected.

How do you usually implement design solution for this? the only solution I am familiar with when faced with this type of requirement is the use of EJBs (is that even a correct design for it?).

View Replies View Related

Achieving Performance On Large Data?

Oct 10, 2013

I have an application which has 10 million rows and 1000 columns in Oracle. Each value has a different set of calculations that are stored in User Defined PLSQL functions.

Data is displayed in form of data grid. When a user updates any value, the calculation is performed using plsql function and value is stored in database. Is there an easy way through which calculation is performed on the fly and i get maximum performance ?

View Replies View Related

How To Improve JSP Page Load Performance

Feb 18, 2015

How to improve jsp page load performance and i have use sessions in jsp page.i tried using with include tag rather than using jsp:include. also

View Replies View Related

JRE :: Java Certificate Revocation List / OCSP Performance

Dec 23, 2013

As the JRE environments and usage of applets has become more and more secure in through the evolution of enhancements to the JRE we have noticed a performance degradation in usage of these applets and launching of them.
 
As our customers are in the business to business environment they utilize our applets that are delivered from the server to the client.  We are looking at ways to reduce the time to validate that the certificates are still valid.  we are looking for ways to provide a means for our customers to validate against a CRL on our server or to cache the the checks against the OCSP so that not each and every client accessing our server needs to go out to the third party sites to get the checks completed.
 
Is there a means to store this information on our server and have the JRE validate against that system rather than the normal OSCP...

View Replies View Related

Storing Search Histories - Remove Duplication Without Affecting Performance

Aug 1, 2014

In our product we show search histories on the UI, means what ever user searches we make a history for that search in the database and show it on the UI.

At present we show duplicate histories also. for ex- if a user do a search with some criteria (say, abc), now if the user do search again with same criteria (abc), we show it twice on our history page.

What we need to do -

we need to remove the duplication, and only to show the search histories once if they have same criteria. also we need to save it only once in the database. means we neither display the same search histories nor store them in the database. ofcourse if we store it only once, it will be displayed only once. so we need logic in our storing part here.

Approaches we are trying -

Approach 1 - We thought to remove duplicate search histories by comparing their criteria's, but here the problem is that single search history itself can have so many criteria's and we store around 30 search histories in the database, so if we compare criteria of all of them one by one. we will loose the performance. so we dropped this approach.

Approach 2 - The second approach we are thinking is, at the time of creation of search histories, we will generate checksum based on their criteria, so if the criteria is same for two search histories the checksum generated would be same, and before creating (storing into database) the search history we first check if the checksum is already exist in the search history table for any search history or not, if it is already there, don't create the search history, as it is already there.

The problems with this approach is -

First Problem - we will need to create one more column in the Table which will impact our upgrade process, and we don't want to have an upgrade impact.

Second Problem - if user changed the sequence of criteria of search, for e.g. name criteria first and then number criteria but the values are same. and in the another search number criteria first then name criteria and values are same as first search, here the search results would be same as the criteria are same but only the sequence is different, so in this case two histories will get created (as we generate checksum based on criteria so if sequence gets changed checksum would also be different), however we want only one search history in this situation. we don't want to consider the sequence.

We store the search histories in XML format and we convert this xml to blob to store it into database, i thought to first sort them then generate checksum, but as they are in xml format, so i can't even sort them because the tags are similar to all the criteria's.

View Replies View Related

Applets :: Loading Is Too Slow

Jan 31, 2014

We are using an applet in our web application. The applet of our application is dependent on bouncycastle jar,bcprov-jdk15.jar and few other jar's whose size comes around 4 mb. When using the appliaction on jre7, the applet is taking too long time to load than usual time. Is there any way to place these jar's in client machine? Will it improve the performance? Is there any other way to reduce the loading time of applet apart from placing jars in client machine?

View Replies View Related

X3D File Parser Is Way Too Slow

Nov 9, 2014

I've recently tried to write a file parser for the .x3d file type as it's one of the few 3d model types I can find written in easy to understand (and interpret) English. While it technically does work (or what I have so far), the issue is that it takes far too long (17 minutes) to parse just a part of the file (the vertices of the model).This is the code for the object itself:

import java.io.*;
import com.sun.j3d.utils.geometry.*;
import javax.media.j3d.*;
import javax.vecmath.*;
public class ModelLoader {
BranchGroup object = new BranchGroup();
BufferedReader reader;
String line = "start";

[code]....

Anyway, here are some observations I've made about the file:

-The line in the file itself that contains all the vertices is all one giant string according to the file.
-There are apparently 18,000 vertices in all (according to the command at line 18).
-Unless Netbeans automatically terminates infinite loops after a certain amount of time, it is most definitely NOT an infinite loop as I have seen the program terminate on its own (after 17 minutes, though).

I had a theory that maybe organizing each vertex into its own line and then having the program switch to the next line when it's done reading that vertex might make the program run faster, but I'm not sure why it would, so I thought I'd come here in case that theory turned out to be a dead end.

View Replies View Related

Monitoring Performance Of J2ee Application Using Open Source Infrared Tool?

Jun 13, 2013

I am using infrared for monitoring performance of j2ee web application(using hibernate and spring),deploying on tomcat 7.0.23 and jdk 1.6.17.here infrared shows only http layer not sql and jsp layer.

View Replies View Related

Class Is Moving Extremely Slow

Dec 8, 2014

I'm currently taking a computer science class but the class is moving extremely slow and I'm not learning much, so I've started to program on my own. The most recent project I've done is a tic tac toe game, and I'm looking for something else to do now. I can do with an increased difficulty from this project, but not extremely difficult.

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.lang.reflect.Array;

[code]...

View Replies View Related

EJB / EE :: Deploy Slow Using 3.1 And JPA In Rational Application Developer?

May 13, 2014

I have a large scale enterprise application (5 modules) project using RAD, WAS v7, Java EE 6 (EJB 3.1, JPA), ZK framework.

The project is using RAD as IDE. The problem is that it takes too long to deploy (more than 5 min) when changes are made to the EJB's (although the changes are minor in only one file) but when changes are made to zk framework (the web & presentation layer), it is fast to deploy.

Don't know what cause the problem. Is it because of EJB 3.1/ JPA or RAD/ WAS?

Is it happening in other IDE or applcation server also?

View Replies View Related

I/O / Streams :: Java Reading And Output Is Too Slow

Sep 17, 2014

I have a code below that is reading large image size and writing them to file however the process is too slow. how can i refine this code in such a way that it will work faster?

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.HttpURLConnection;

[code]....

View Replies View Related

I/O / Streams :: Java Reading And Output Too Slow

Sep 17, 2014

I have a code below that is reading large image size and writing them to file however the process is too slow. how can i refine this code in such a way that it will work faster?

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.HttpURLConnection;

[code]...

View Replies View Related

Java Streaming Project Getting Slow After Hosting

May 20, 2014

I am working on a Java Streaming Networking ( Client Serve ) project , among remote client can:

1 ) chat,

2 ) Share files,

3 ) Share Screen live streaming,

4 ) Access the remote system.

All are working well faster & live on networking. But if i host on the Hosting server the all process are working but in deadly slow streaming is not live..,

View Replies View Related

Networking :: Socket Creation Too Slow Versus URLConnection

Oct 27, 2014

I'm trying to write a transparent proxy like polipo. Polipo is written in C and I want to have the same result in java.
 
A simple program that can filter/monitor all connections created and closed by the browser.
 
To do so, I've chosen to work with sockets, because that's the only way i know to read and write raw data to and from the browser in a completely transparent way.
 
In this moment my code reads and writes every couple of request/response but I've noticed profiling it that the time needed to create the socket is a bottleneck.

Using URLConnection to create the same connection I need much less time than sockets.
 
When socket creation implies 50ms URLConnection implies only 1ms.

View Replies View Related

Can't Run Javac On Linux?

Mar 17, 2015

Java Code: esolve@mypad:~/temp$ java -version
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)
esolve@mypad:~/temp$ javac HelloWorld.java
program 'javac' is in the following packages:
* default-jdk
* ecj
* gcj-4.8-jdk
* openjdk-7-jdk
* gcj-4.6-jdk
* openjdk-6-jdk
please try:sudo apt-get install <package> mh_sh_highlight_all('java');

I see there is jdk in my ubuntu system but when I run javac, it asks me to install a jdk.

View Replies View Related

How To Install Java In Linux

Apr 5, 2014

I am trying to install Java on my Debain based Linux OS and can`t seen to figure it out. I first typed "chmod +x jdk-8-nb-8-linux-i586.sh", than typed "./ jdk-8-nb-8-linux-i586.sh" to install it. It started to install, but than it gave my this message: (computer name has been changed)

bobsmith@bobsmiht-OptiPlex-GX620:~/Downloads$ ./jdk-8-nb-8-linux-i586.sh
Configuring the installer...
Searching for JVM on the system...
Preparing bundled JVM ...
./jdk-8-nb-8-linux-i586.sh: 1: eval: /tmp/.nbi-5045119.tmp/jre-7u4-linux-i586.bin: not found
Cannot prepare bundled JVM to run the installer.
Most probably the bundled JVM is not compatible with the current platform.

How do I fix this? My Linux computer is not connected to the internet, I don`t know if this is a problem or not.

View Replies View Related

Is There Any Java GUI Editor For Linux

Jul 29, 2014

Not a Java editor with a GUI, but and editor for editing Java GUI's (Graphically (With JFrame, Swing etc) (Kinda like FrontPage for HTML only for Java/Linux. You just add stuff / drag objects around and then optionally review the code after..

View Replies View Related

HTTP Download From LINUX Server?

Oct 13, 2014

my project is all about downloading files(text files, music files, etc) from a LINUX server using UI build in java, my mentor told me to use HTTP Client (Java apache), but how to start this.

Here's a sample scenario:

ScreenHunter_1.jpg

Consider the directory structure above.

First, how to connect with this LINUX server using JAVA.

ScreenHunter_2.jpg

and how to dowload the above file.

View Replies View Related

Swing/AWT/SWT :: Trying To Use JFileChooser In Eclipse In Linux

Apr 9, 2014

I'm trying to JFileChooser to open up a window. I'm just trying to learn how to use it for a school assignment this week. The problem is I can't get anything to show up. I can create a new window and print to the console without errors, but JFileChooser doesn't do anything. No errors either.

import java.awt.*;
import javax.swing.*;
public class TestingStuff extends JFrame {
public TestingStuff() {
setTitle("This is a new window!");
setVisible(true);

[Code] .....

View Replies View Related

Running Java File From Linux CMD

Apr 24, 2014

import acm.util.* ;
import acm.program.*;
import java.awt.* ;
class Chap6_ex1 extends ConsoleProgram {
public void run() {
println("This program displays a randomly schosen card.");
int number = rgen.nextInt(1 ,13);
int suit = rgen.nextInt(1 ,4);

[Code] ....

I am running the this from a Linux command line , in the cmd first i use :

javac -classpath acm.jar Chap6_ex1.java

end then :

java -cp .:acm.jar Chap6_ex1

The output i m getting after second command is :

Exception in thread "main" acm.util.ErrorException: Cannot determine the main class.
at acm.program.Program.main(Program.java:1358)

I know the problem is from the RandomGenerator class in packet acm.util.* but i dont know how to fix the problem . Every other program has worked . What I am missing or how this whole issue of packet importing works when running a java file from cmd ?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved