Articles

Affichage des articles du 2016

WebStart applications

Warning: Unsigned and self-signed WebStart applications and Applets are deprecated from JDK7u21 onwards due to security reasons.          To ensure future correct functionality please sign WebStart applications and Applets using trusted certificate.

Facts about Computer !

Most "free" anti virus programs that come preinstalled on laptops are also pretty bad and generally would try to force you to buy them after the initial "free" period has expired. Norton takes A LOT of resources, I've been sporting Microsoft Security Essentials since it's release and have yet to have anything get through onto my laptop or PC, and I take my laptop to public wifi hot spots a few times a week.

-Xlint:deprecation | deprecated API | use unchecked or unsafe operations

Note: Some input files use or override a deprecated API. ( It simply means that you are calling methods which have been marked with a  @Deprecated  annotation.) Note: Recompile with -Xlint:deprecation for details. (Probably, that is because you need to declare a List object, say (e.g.), without omitting '<' and '>': List < Integer > list = new ArrayList < Integer >();) Note: Some input files use unchecked or unsafe operations. ( for example when you call a function that returns Generic Collections and you don't specify the generic parameters yourself. for a function List < String > getNames () List names = obj . getNames (); will generate this error. To solve it you would just add the parameters List < String > names = obj . getNames ();) Note: Recompile with -Xlint:unchecked for details. ( From what I can tell in the docs, you can't do it on the command-line. According to the  javac  documentati

java.sql.SQLException: null, message from server

java.sql.SQLException: null, message from server: "Host '?' is not allowed to connect to this MySQL server"

dynamique Raport

Caused by: java.lang.NoSuchMethodError: net.sf.dynamicreports.report.defaults.Default.isLoadSystemFonts()Z at net.sf.dynamicreports.jasper.base.JasperSystemFontExtensionsRegistryFactory.createRegistry(JasperSystemFontExtensionsRegistryFactory.java:51) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.instantiateRegistry(DefaultExtensionsRegistry.java:238) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.loadRegistries(DefaultExtensionsRegistry.java:213) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.loadRegistries(DefaultExtensionsRegistry.java:161) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.getRegistries(DefaultExtensionsRegistry.java:132) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.getExtensions(DefaultExtensionsRegistry.java:104) at net.sf.jasperreports.engine.DefaultJasperReportsContext.getExtensions(DefaultJasperReportsContext.java:271) at net.sf.jasperreports.engine.util.JRQueryExecuterUtils.g

jfxrt.jar

org.javafxports\dalvik-sdk\8.60.6\7c3edaf775f14e87961b9fc15325f64eeb8583bd\unpacked\dalvik-sdk\rt\lib\ext\jfxrt.jar

jfxmobile.plugin.android.task.AndroidTask

No such property: manifest for class: org.javafxports.jfxmobile.plugin.android.task.AndroidTask_Decorated Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip'.

MultiViewProject:unspecified

Could not find any version that matches com.android.support:appcompat-v7:18.0.+. Searched in the following locations:     https://jcenter.bintray.com/com/android/support/appcompat-v7/maven-metadata.xml     http://nexus.gluonhq.com/nexus/content/repositories/releases/com/android/support/appcompat-v7/maven-metadata.xml     http://nexus.gluonhq.com/nexus/content/repositories/releases/com/android/support/appcompat-v7/ Required by:     :MultiViewProject:unspecified Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip'.

Cannot expand ZIP

Cannot expand ZIP 'C:\android\sdk\extras\android\support\multidex\library\libs\android-support-multidex.jar' as it does not exist. Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip'.

Configured compileSdkVersion is invalid

Configured compileSdkVersion is invalid: 21 (C:/android/sdk/platforms/android-21 Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip'.

ANDROID_HOME not specified. Either set it as a gradle property

ANDROID_HOME not specified. Either set it as a gradle property, a system environment variable or directly in your build.gradle by setting the extension jfxmobile.android.androidSdk. Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip'.

MultiViewProject:unspecified

Could not find mysql:mysql-connector-java-5.1.39-bin.jar:. Searched in the following locations:     https://jcenter.bintray.com/mysql/mysql-connector-java-5.1.39-bin.jar//mysql-connector-java-5.1.39-bin.jar-.pom     https://jcenter.bintray.com/mysql/mysql-connector-java-5.1.39-bin.jar//mysql-connector-java-5.1.39-bin.jar-.jar     http://nexus.gluonhq.com/nexus/content/repositories/releases/mysql/mysql-connector-java-5.1.39-bin.jar//mysql-connector-java-5.1.39-bin.jar-.pom     http://nexus.gluonhq.com/nexus/content/repositories/releases/mysql/mysql-connector-java-5.1.39-bin.jar//mysql-connector-java-5.1.39-bin.jar-.jar Required by:     :MultiViewProject:unspecified Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip'. add compile 'mysql:mysql-connector-java:3.1.12' to build.garde

Cannot find System Java Compiler

Image
Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable to point to the according directory. Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip'. TO FIX IT :

java.lang.NullPointerException

java.lang.NullPointerException at priceSuit.MyTawfik.getListDynamique(MyTawfik.java:601) at priceSuit.report.WelcomeRaportController.chargeAllBd(WelcomeRaportController.java:1058) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275) at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1771) at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1657) at com.sun.javafx.event.Composite

org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.

org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121) at priceSuit.CenterSearch.CenterSearchController.itemStatus(CenterSearchController.java:1671) at priceSuit.CenterSearch.CenterSearchController.setRegion(CenterSearchController.java:1655) at priceSuit.CenterSearch.CenterSearchController.initialize(CenterSearchController.java:667) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71) at sun

The difference between () and ()

Spring allows you to do two things: Autowiring of beans Autodiscovery of beans 1. Autowiring Usually in  applicationContext.xml  you define beans and other beans are wired using constructor or setter methods. You can wire beans using XML or annotations. In case you use annotations, you need to activate annotations and you have to add  <context:annotation-config />  in applicationContext.xml . This will simplify the structure of the tag from  applicationContext.xml , because you will not have to manually wire beans (constructor or setter). You can use  @Autowire  annotation and the beans will be wired by type. A step forward for escaping the manual XML configuration is 2. Autodiscovery Autodiscovery is simplifying the XML one step further, in the sense that you don't even need too add the  <bean>  tag in  applicationContext.xml . You just mark the specific beans with one of the following annotation and Spring will automatically wire the marked beans and their

Is android (read the external storage) par default will stop ?

Google  : Currently, all apps have the ability to read the external storage without a special permission. However, this will change in a future release. If your app needs to read the external storage (but not write to it), then you will need to declare the  READ_EXTERNAL_STORAGE  permission. To ensure that your app continues to work as expected, you should declare this permission now, before the change takes effect. However, if your app uses the  WRITE_EXTERNAL_STORAGE  permission, then it implicitly has permission to read the external storage as well.

Switch Button JAVAFX

My implementation of the Switch Button allows you to change  the on and off state !

DMS AUTOMOTIVE ALGERIA USING JAVAFX

Image
Multi-brand Multi-warehouse Multi-store Multi-company Real-time information Unique vehicle throughout the system Export reports to Excel®, OpenOffice®, Word®, PDF, XML, HTML, txt Preview reports before printing Security: permissions and user profiles Windows ,Linux,Mac

an empty constructor ?

To prevent someone from accidentally instantiating the contract class, give it an empty constructor.