Quantcast
loading...

Score: 164°       Point: 39814       Stars: 0        

Java-forums
Java-forums-avatar













Java-forums

java-forums.org

vBulletin 4.0 Publishing Suite with CMS





Get Adobe Flash player



         Blog

Java Console 6.0.35 for Firefox

Hello, I wasn't sure where to go with this and didn't know who to ask....so please forgive me if this isn't the right place.
Earlier tonight, I was prompted to update Java to "Java 6.0.35"...which I did. My understanding is that it was for security purposes to deal with a recent malware exploit.
Once I updated Java and proceeded to open my Firefox web browser.....there was a new tab that appeared that basically asked me to add the "Java Console 6.0.35 Add On".
For some reason and without thinking, I mindlessly closed that tab....and just as I was closing it, I realized that the box to tickmark in order to add the Java Console 6.0.35 add on was NOT tickmarked! I've since checked, and it is not included among my Firefox Add Ons, and I've spent a good amount of searching f

2012-09-04 08:45:32
Similar

Problem with Java: Could not create java virtual machine

Admittedly I am... Brand new to Java, and am working on learning the basics etc. But for now, I just want to get it working.
I recently uninstalled Java 6 to replace it with Java 7. The installation seemed fine, everything looked in order. Except I tried running a Java based exe and I keep getting the error message "Could not create Java virtual machine". I had a look on a few forums for some solutions but to no avail. Here is what I have tried so far:
.Uninstalling & Reinstalling Java 7.
.Installing both Java 7 online/offline.
.Reinstalling Java 6.
.Restarting Computer many, many times.
Java 6 worked perfectly. No problems whatsoever. So why Is it that now nothing works even when I returned it to Java 6?
I understand how much of an amateur I am with Java and programming in m

2012-09-01 20:13:26
Similar

Virtual Joypad and/or USB device

I'd like to create a virtual joypad using Java. I have a good bit of experience capturing input from different USB game controllers, but I'd like to be able to take it a step further. There's a game I'm trying to play (it's called Bastion), but it only supports xbox controllers. I'd like to make a virtual xbox controller that's recognized as a physical USB device, and control it via java. I would listen for an event on my off-brand controller, translate the button press, and generate an event on the virtual xbox controller. Is this possible? Examples would be great, but I'd be more than happy with the name of a library I could use.
TL;DR: want to create virtual gamepad with java. the virtual gamepad will be recognized as a physical device, and I will generate button press events on it.
Tha

2012-09-01 07:39:17
Similar

External Program inside a JPanel

Hello, I'm trying to run an existing executable from my Java program, say "C:\Windows\System32\calc.exe" I know that I can start the process via the command:
Process p = Runtime.getRuntime().exec("C:\\Wind ows\\System32\\ calc.exe");
The catch is that I want it to be contained inside my JPanel with no title bar or frame, just the program. If that's not possible could I somehow strip the title bar and frame and move the location of the program such that it overlaps with my JPanel (ontop of)?
Thanks!

2012-08-30 18:42:46
Similar

ClassNotFoundException: org.hibernate.cfg.Configuration

I am writing a web application in java for the first time and using hibernate framework. When I run my index.jsp class that invokes hibernate I am getting . I figure the problem it that the hibernate.cfg.xml file is not being location so I went online and found some information has how to approach this. So what I did now is create a new folder called config and put the hibernate.cfg.xml file in it then config the build path making config a class folder. But the problem still exist. Is the problem that the hibernate.cfg.xml file is not being located and if so how do i fix this
hibernate.jpg
Attached Images
hibernate.jpg
(335.4 KB)

2012-08-30 17:33:31
Similar

Html scraping Site Loads Wrong Jsoup Java

I'm trying to run a script to pull information from a site however when I compare the actual website to the site that my program shows it is not the same.
some examples of what is missing is the beginning !doctype and the companies' info
Manufacturing Companies in Minnesota (MN)
(if you view source itll show you how the code should work vs a copy and pasted version of the code below
I'm not sure if javascript is part of the issue, i tried turning it off and it still worked, but i also noticed there is a lot of javascript in it; no login is required for the website. Maybe cookies?(I don't know much about cookies)
Code:
String keyword = "http://www.manta.com/mb_43_E7_24/m anufacturing/minnesota.php";
Document doc = Jsoup.connect(keyword).referrer("ht tp://www.google.com").

2012-08-26 01:41:28
Similar

javaexe : questions about transforming a java program into a service

hello
I have a question concerning javaexe, a tool which allows to transform a java program into exe and, what is interesting to me, a service.
the doc is here :
http://devwizard.free.fr/download/JavaEx e%20-%20doc.zip
in this doc the writer says there are 2 ways to launch the program : from main and from interface methods. I want the second way.
after that, he says that for each access point, there are 2 ways to call the program : the JVM, and the javaexe program. I don't understand it.
I want to install my program as a service in windows, the program should appear in the services window of windows, should be stoppeable, restarteable, and should be automatically launched at the start of windows.
could you tell me how I can launch the methods from the JVM? I know how to launch the main meth

2012-08-24 18:57:18
Similar

JPA - how to insert new records ??

Hello,
Looking for some advice here.
I use a JPA wrapper that calls the create method which is the em.persist transaction. This loads all new records into the database when the database is empty.
These records get updated every 15 min from the server.
I have set a primary key on one of the fields so that their is no duplication of records.
If the data has changed since the first call - I want it to load the data into the database as new records. I do not want it to update the existing records.
How would I go about this ?
Any advice ??

2012-08-24 17:58:25
Similar

Need help with Eclipse Applet Viewer

I have an applet that I developed without eclipse using notepad for the .java file and .htm file. The applet runs fine from the command line using the JDK appletviewer. However, I have imported the .java and .htm into an Eclipse project. When I choose Run As > Java Applet the default Applet window that pops up is too small to show the entire applet. Resizing the Applet window just shows additional white space. Is there a way I can change the default size of the applet window in eclipse? I am doing this because it is much easier to run the applet from Eclipse rather than using the command prompt.

2012-08-22 03:50:53
Similar

Axis2 request successfully executed but 401 status is returned

Hello,
I have the following issue: from the client side I send a request which is successfully executed on server side but in the response header receive the 401 status code. The body of the soap xml contain the proper response (used TCPMon to check request/response).
Does somebody have any idea what could be the problem or how could I trace it?
Our webapp is deployed under Websphere.
Thanks

2012-08-20 11:55:51
Similar

Problem with Jtable with ResultSet

Hello Everybody:
i´m new in this forum and this is my first thread, i hope you can help me, i have a problem with JTable and ResultSetScrollable, the question is that i have a JTable with AbstractTableModel, in the class AbstractTableModel, i override the three methods, getvalueat, getcolumnname....also i have a ComboBox, when i select a value of the ComboBox, the JTable shows the data associated with the ComboBox.
Well, the problem is that JTable only shows INTEGER data, but String not, i don´t know why this could be.
if someone knows anything about this, would be very grateful.
this is a part of the code:
**********This is the AbstractTableModel********************** ********** *********
public class PersonalTableModel extends AbstractTableModel{
ResultSet rs;
public PersonalTableModel(

2012-08-18 17:33:53
Similar

Drawing a house using Java Applet. Who can help? Even simple house output :(

i've given a task to make my dreamhouse by using Java Applet. I am just a beginner in Java Applet. Can you please help me? just give me codes and i will try to understand it. I need a guide for this project :(( Guys can you help?:( :=(:

2012-08-17 16:37:30
Similar

PDF/A1A (XMP Tagged PDF) with XML datasource (JaserReports/iText)

Hello,
I'm trying to run the code underneath, but it fails with the error:
Code:
Exception in thread "main" java.lang.ClassCastException: com.itextpdf.text.Document cannot be cast to org.w3c.dom.Document
Here's the actual code.
It seems that I'm combining two different Document classes, but I don't know how to solve it.
If my code is totally bogus, but you can help me out with a small example how to generate a PDF/A1-A file (--> thus tagged with XMP metadata such as in the "DublinCoreSchema") having as source an XML file and as layout a JasperReports template... I'd be very very happy too :(yawn):
Quote:
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;

2012-08-14 09:40:53
Similar

Size reduction of jfree library

How can i reduce the size of jcommon-1.0.16.jar and jfreechart-1.0.13.jar(mainly jfreechart-1.0.13.jar) so that i can use this library in my embedded environment.Size is creating probs for me. Please tell how can i reduce.

2012-08-14 08:25:31
Similar

javac is not recognized as an internal or external command error

i have the same problem but i have found javacpl.exe file in my folder 'bin' instead of javac.exe. Are they both same?

2012-08-14 06:36:56
Similar

JSTL - Array of objects?

I am using JSTL in a JSP to access data from my MySQL database.
Thus I am looping through doing a foreach:
<c:forEach var="row" items="${rs.rows}">
<c:set var="menuId" value="${row.id}"/>
<c:set var="nextPage" value="${row.homePage}"/>
<c:set var="promptText" value="${row.prompt}"/>
<c:set var="menuType" value="${row.menuType}"/>
</c:forEach>
What I would like to do is capture this in an Array of objects.
So that I can iterate through the list numerous times without
having to requery the database each time.
Thus is there a way to create an ArrayList of objects using JSTL?
Or do I need to create the ArrayList outside of JSTL and then pass it
to the JS

2012-08-09 19:59:21
Similar

Add, Modify & Delete Single or Multiple Charts inside Worksheets in Cloud

What is new in this release?
The latest version of Saaspose.Cells allows developers to
add charts in worksheets
to give a graphical representation of your data. You can add single or multiple charts in your worksheets. These charts can be placed anywhere in the workbook, resized and you may choose to customize the charts settings. You can also delete charts from worksheets using Saaspose.Cells REST API. You can delete a single or multiple charts from the workbook. Saaspose.Cells is a platform independent REST API that can be used in any language, across any platform. You can add & delete charts in workbooks easily using the feature rich Saaspose.Cells REST API. We have SDK and REST examples for Saaspose.Cells REST API that help you utilize it for your applications in the cloud. Saasp

2012-08-08 08:42:54
Similar

SSH Library that supports dynamic port forwarding. Anyone knows any?

Hello,
I've been looking around for a SSH library that supports dynamic port forwarding.
Already tried Ganymed SSH-2, but they only support Local and Remote forwarding. Also, i have been searching around and even paid libraries don't seem to have this functionality.
What im developing is basically a tunneling client for online games where the game connection is intercepted and sent through a proxy server using a SSH tunnel, and thus i need dynamic port forwarding.
Hope you can help me.
Thanks in advance.

2012-08-07 22:13:45
Similar

Empty JTable issue(blank rows) Empty JTable issue(blank rows)

Hy guys!
I have a problem, i want to create a empty table in a scrollable pane that has fixed width, and a minimum height of 200. When i say "empty" i mean it must have as many empty rows as it needs so it can fill scrollable pane's height.
Something like this (the one in the left bottom part of the picture):
The problem is...i can use a solution but is not really what i need. I added many empty rows so i am assured that the table fills also the minimum height of the scrollable pane, and also the maximum height. BUT, this adds a vertical scrollbar , and i don't want this only if i have records in the "non visible" area. I want scrollbar to ignore the empty rows. In the picture there is no scrollbar.
Or if you have a better solution without this ugly idea of adding blank

2012-08-06 20:28:12
Similar

What do I miss to run Java on my Mac?

I have just installed Java (JDK) from java.com on my Mac, knowing now that I could have installed java from my Mac.
After the installation I had to search Programs for java (java didn´t show with an icon) and found Java Virtual Machine.
Starting JVM didn´t give me much, except from some web pages.
In my search I have read about NetBeans and Eclipse, but a little uncertain I ask
if I have to install one of them to get Java up and run, which is the one to prefer?
Is there anything else I need?

2012-08-06 19:03:19
Similar

View More (Log In and Will Fans)









Win the T-shirt



with only 4000 points






















Who We Are Partner Advertising Contacts Privacy terms Help & FAQ

© Copyright 2010-2017 Fabrizio Fichera. All rights reserved.

© 2010-2018 Fabrizio Fichera

dialogShowMessage!

Fill out the form you see below. Registration is free, fast and simple.
If you are already registered, sign in page login.


Web Site :
Required Field
First Name :
Required Field
Last Name :
Required Field
Email :
Required Field
Sex :
Required Field

evolveStar.com is free for ever !


evolveStar.com provides a search engine that allows you to gather information to write their own blog.


evolveStar.com enhances the sources displaying the logo of the site.


If you want to remove your site or you believe a site listed infringes copyright, please report it to: info@evolvestar.com


Specifies the subject copyright violation and the url of the page


evolveStar.com respecting the law DMCA (Digital Millennium Copyright Act) will immediately remove whatever its merits.


Next will be effectual and relevant checks.