32,204 Topics
| |
Hi all I would like to embed an encoded image into an FXML (i need this in that I'm coding a converter between svg and fxml). I tried with this: <AnchorPane id="AnchorPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns:fx="http://javafx.com/fxml"> <children> <ImageView fitHeight="150.0" fitWidth="200.0" layoutX="153.0" layoutY="94.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYEAYAAACw5+G7AAAABmJLR0T///////8JWPfcAAAA … | |
hi guys, i was wondering if someone can point me in the right direction of how to create an interface with a playstation usb controller for a game that i have in java. thanks | |
On my class side I cannot seem to get netPay to calculate and am also having problems with finding insDeduct. On the demo side I have you choose between S - Single and M - Married. Any help would be greatly appreciated. [CODE]public class ChapterFiveClass { // Declare some fields … | |
Can someone point me in the right direction for formatting text and aligninng text in a JTextField? Thanks... | |
Hi everybody! I am having some trouble running a detached process using CreateProcess function in C++. I have been using the following function to spawn processes in c++ for years now havnig no trouble. I have used it with console applications, mfc apps, dialog based ... etc : StartProc(char *callprogram, … | |
how to create a window with label and button above the label. can you codes this label : MAIN MENU BUTTON : RECURSION BUTTON: EXIT PLEASE HELP ME ! ITS ALL ABOUT RECURSION | |
The following four classes are an attempt to set up three different JFrames and switch between them. The three frames are: MainView, DetailView, and FormView. The main class is MultipleFramesExample. The four source codes constitute a NetBeans project with a package called FrameViews. MainView, DetailView, and FormView are essentially identical … | |
When i run a single number (1-9), it'll output as ONEONE or TWOTWO, etc.. As well with numbers 11-19, they'll show up as ONEELEVEN or TWOTWELVE, etc. 20-100 outputs fine whereas 101 becomes ONE HUNDRED TEN ONE ONE, etc.I have no idea what I've done any help would be greatly … | |
Hello Daniweb! I have a .txt file on a URL and I'm able to read its contents and display them however and wherever I want in my applet without any issues with this simple code: URL url = new URL("http://blabla.com/something.txt"); BufferedReader input = new BufferedReader(new InputStreamReader(url.openStream())); String str; Boolean continueLoop … | |
Hi guys! How I can include BoxedApp.dll for my Java - project? Is it really? | |
Hello all, I recently started working with java, and I have been in the process of creating a new game for use on Android operating systems. I have at least 90 percent of the game fully conceptulized and at least 30 percent of it already in actual code. However I … | |
I have created a screen capture of the current screen ,but i want to capture the entire html page as image can any body help me. Here is the code of screen capture.. import java.io.*; import java.awt.*; import java.awt.image.*; import javax.imageio.*; class A { public static void main(String[] ar) throws … | |
I am trying to format my text firlds so that if the user inputs letters or somethings improper, it will display an error message and ask the user to retry entering the number. i am not quite sure where to start with this part. i have the calculator code working … | |
I have a sample question,can i return a Jframe in a method defined in a jaxws webservice implementation class.if soo give me steps simple steps onlt or keywords, i ve tried for example: import java.awt.*; import javax.jws.WebService; import javax.jws.WebMethod; @WebService(serviceName="frameService", portName="framePort", name="frame",wsdlLocation = "WEB-INF/primary.wsdl") @BindingType(value=javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_MTOM_BINDING) public class frameserver implements Serializable{ … | |
i am new please guide me how can i take input from user in java. i did java from lot of time ago now i am starting learn again i did learn take input from user by this, there is a statement to write input from user first we initialize … | |
HI all in Daniweb. I have a problem here. I wanted to create a desktop database application using Java DB Embedded. What is the problem here i try creating a frame from scratch and want to connect to the database. I have create a connection to the database. it was … | |
What is the importance of a counter in a linked list? what would happen if one left the counter out of the linked list? | |
hey all i have a table in my project which called tasktable it retrives data from database (oracle) how can i change the color of the row that has the color in the cell ex. (i,8) Automatically when i click in refresh butomn i have tried so many times to … | |
Hello, I have a JList which contains all data from mySQL table. I want the user to be able to select an item from the list and show it on the label. When I click on the first item it works, However when I click on the other items, the … | |
so basically for my uni work i have to create an applet that gives a word pattern for a particular sentence, ie '1 am a man' would give 2, 1, 1, because there are 2 1 letter words, 1 2 letter word and 1 3 letter word. the harder part … | |
/** * @(#)password.java * * * @author * @version 1.00 2012/7/14 */ import javax.swing.JOptionPane; import javax.swing.*; import java.util.*; public class password { public static void main (String[] args) { String user; user=JOptionPane.showInputDialog("enter password to continue(letter only)"); if(user.compareTo("adnan")) { JOptionPane.showMessageDialog(null,"ACCES GRANTED","welcome", JOptionPane.INFORMATION_MESSAGE); } else { JOptionPane.showMessageDialog(null,"ACCES DENIED","error", JOptionPane.ERROR_MESSAGE); } } } | |
hello ı want to develop some code in java but ı coudnt find the java programmer on internet please give me url or adres for downloandind java developer | |
Hi I have java Enabled Nokia X2-01 I have made a game in java which is a executable jar file now i want to run it in my java enabled mobile phone.Please help | |
Hi how I can read md5 hash from textfile and compare it with other md5 hash. I know that MessageDigest.isEqual() is right method for me but how to get the hahs from file without changing it. I can read it to String but if I use getBytes() method it obviously … | |
Is that possible to decompile a C++(or Java) "exe" file enough to read a TEXT password,stored in the source? .......just a regular string or char. no encryption or stuff | |
Hey all, I'm currently somewhat new to Java, but not to programming, so I appologize if there's an obvious way to do this. Anyway, I'm currently writing a peice of code that I hope will be a graphical front end to GDB because I hate all the other front-ends, it … | |
As a practical joke for your birthday, your best friend gave you some single-dimensioned arrays, each full of boolean values. She didn’t tell you how many items are stored in these arrays. As if that weren't bad enough, your friend told you that each array is filled almost entirely with … | |
Hi, my codes if statement returns false for some reason. I tried different variation yesterday and today morning and nothing works. Could someone look my code. I got File file users.txt where the usernames are stored. public static void checkUser(String userName, char[] passWord) { FileInputStream fIn; DataInputStream dInput = null; … | |
Eliza is a famous 1966 computer program written by Joseph Weizenbaum. It imitates a psychologist (more specifically, a Rogerian therapist) by rephrasing many of a patient's statements as questions and posing them to the patient. This type of therapy (sometimes called nondirectional) is often parodied in movies and television shows, … | |
any one have a graph coding for snmp using java..with the graph i can see the utilization of the network...would rely be helpfull. thank you |
The End.