Technology P2P with JAVA (How can i do for implement this tech with JAVA B)
Thanks for read this message,,, I will glad with you if you can help me...
I would like desing, make, build, a point to point aplication with JAVA Builder, I have been reading about sockets but its not enought,,,,,,
can you help me????
Thanks
Well , thanxs for take attention,,,
I need some information about Point to Point tech because I would like to make an aplication with JAVA Builder...
First step is to know how works the point to point...could you give me some links?
Second step is to know how can I do for implement this tech?
Third step is to know Is Java Builder the most indicate languaje for this aplication?
Fourth step is - if Java Buider is the indicate tool, What have to know for make the aplication?
Well,,I dont speak english very well but is the best that i can do?
BYE
Similar Messages
-
How can i do for force disk encryption with time Machine by MCX
Hi Hello
I have a Lion server and my clients Mac Os X, and when the users use time machine for backup data, i want force encrypt disk
How i can do for force that by mcx ?
thanks for your helpNo. A Time Machine backup drive should have at least twice the capacity of the drive it backs up. You would need at least a 4 TB backup drive for Time Machine.
Might I suggest as an alternative that you not use Time Machine but a third-party backup utility that simply overwrites older files with new ones such that the backup drive can be the same capacity as the drive backed up.
Suggested Backup Software
1. Carbon Copy Cloner
2. Get Backup
3. Deja Vu
4. SuperDuper!
5. Synk Pro
6. Tri-Backup
Others may be found at MacUpdate.
Visit The XLab FAQs and read the FAQ on backup and restore. Also read How to Back Up and Restore Your Files. -
How can I format paragraphs like this? -with missing image i hope
I am a novice DW user and a novice at web design. I have a formatting challenge as follows. First my stylesheet and then the problem:
For a larger image go to my website at www.schembs.com/Left_Margin_Problem.png
Could you please help me? I have this need well more than 1,000 places on my website. The insets vary, e.g. sometimes the first Line is inset 80px and the second and following Lines 120px, or 120 and 160, etc. Again, I don't understand much of this so please be explicit. Thanks very much!
jdsThanks. But is there a difference between what you are proposing:
.indent {
padding left: 200px;
And what I already have?
.col_5 {
padding-left: 200px;
padding-right: 50px
And if I put a <p><span......> I get a blank line between my Line 1 and Line 2. The <p> causes the blank line.
With just a <br /> (and no <p>) and then the <span class="col_5" the "col_5" command just is acting on the next line as in Example B. Actually class="col_5" is additive to the previous class="col_4" callout, and therefore the indenting is 160px plus 200px or 360px. In my Example B I used "col_1" after the "col_4" and get an indent of 160px plus 40px or 200px.
Please look at:
http://www.schembs.com/Left_Margin_Problem.png
Jim -
Java: How can one check for index out of bound?
simple while loop
while (something [ i ] ==k)
i+=1;
document.write(save [ i ]);
Thanks everyone :o)
Edited by: bvc on Sep 21, 2007 3:33 PM
Edited by: bvc on Sep 21, 2007 3:34 PM
Edited by: bvc on Sep 21, 2007 3:34 PMyou need to make sure that i is always less than the length of the array, so in your while loop, you should have that as one of your conditions
while( i < something.length && something[i] == k )
//blah blah
}Also, please encapsulate your code in code tags. -
Hi. I need help about the sincronize information that i obtain directly from the ipad. i need to pass these to PC.
And i need to configure icloud in outlook. I´m triyng, but the outlook send me and error.
Thanks.
EduardoUpdate and restore alert messages on iPhone, iPad, and iPod touch
http://www.buybuyla.com/tech/view/012953a0d412000e.shtml
iOS: Resolving update and restore alert messages
http://support.apple.com/kb/TS1275
iPad: Unable to update or restore
http://support.apple.com/kb/ht4097
iTunes: Specific update-and-restore error messages and advanced troubleshooting
http://support.apple.com/kb/TS3694
Cheers, Tom -
How can u pay for a apple card with a Itunes gift card.....Please help. Thomas
are you trying to bye a gift card? or redeem one?
-
How can I get a single jar file with NetBeans?
How can I get a single jar file with NetBeans?
When I create the project I get these files:
dist/lib/libreria1.jar
dist/lib/libreria2.jar
dist/software.jar
The libraries that have been imported to create the project are in separate folders:
libreria1/libreria1.jar
libreria2/libreria2.jar
libreria1, libreria2, dist folders are all located inside the project folder.
I added the following code to the build.xml:
<target name="-post-jar">
<jar jarfile="dist/software.jar">
<zipfileset src="${dist.jar}" excludes="META-INF/*" />
<zipfileset src="dist/lib/libreria1.jar" excludes="META-INF/*" />
<zipfileset src="dist/lib/libreria2.jar" excludes="META-INF/*" />
<manifest>
<attribute name="Main-Class" value="pacco.classeprincipale"/>
</manifest>
</jar>
</target>
Of course there is also the project folder:
src/pacco/classeprincipale.form
src/pacco/classeprincipale.java
Can you tell me what is wrong? The error message I get is as follows:
C:...\build.xml:75: Problem creating jar: archive is not a ZIP archive BUILD FAILED (total time: 2 seconds)This is not a NetBeans forum, it is a JDeveloper forum. You might want to try http://forums.netbeans.org/. I also saw your other question - try looking in the New to Java forum: New To Java
-
How can I download the original Apple version of Java 6 please?
I have an iMac OSX 10.10.1 Yosemite with Java 1.8.0_25. How can I download the original Apple version of Java 6 please? All my attempts are referred to the latest version of Java, which I already have! Catch 22!
ThanksJava
http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US -
With Java8, how can I make my tooltips behave as they did with Java7?
Since some of my customers may want to run Java8, I decided to try my application with Java8. There were quite a few problems most of which were resolved when I decided to do a revamp in anticipation having to have the system run on Android and ios platforms.
I now have everything working except Tooltips.
With Java7, Tooltips were not styled and the default was satisfactory. On Java8, the Tooltips had a black background with white lettering with too small a font size. Also, since I was defining a background in .root, there was an addition rectangle to the right and below the tooltip. After much trial and error, I was able to get a satisfactory Tooltip in Java8 although I cannot see how to implement the page corner. To remove the background rectangle (which also appeared on my ChoiceBoxes, I had to style .root.popup). Below is the relative section of my css file.
However, when I run this under Java7, I get a Tootip with a transparent background and black lettering.
Is there anyway I can get the same tooltip styling to work with both Java versions?
Thanks for the help.
Alex
Document : e3css
Created on : Jul 25, 2012, 12:12:40 PM
Author : Admin
Description:
Purpose of the stylesheet follows.
.root {
-fx-base: rgb(50,250,50) ;
-fx-background-color: linear-gradient(to bottom, rgb(0,227,0), rgb(50,160,50));
-fx-focus-color: green ;
-fx-accent: green ;
-fx-border-color: black ;
-fx-border-width: 2 ;
-fx-border-style: solid ;
-fx-border-radius: 10,10,10,10 ;
-fx-background-radius: 10,10,10,10 ;
.root.popup {
-fx-background-color: transparent ;
-fx-border-color: transparent ;
.tooltip {
-fx-background-color: gold ;
-fx-font-family: Verdana,Arial,Helvetica,sans-serif;
-fx-font-size: 12px;
-fx-font-weight: bold;
-fx-fill: white;
-fx-background-radius: 10,10,10,10 ;
-fx-border-color: black ;
-fx-border-width: 2 ;
-fx-border-style: solid ;
-fx-border-radius: 10,10,10,10 ;See:
styles - How can I keep the JavaFX 7 skin with JavaFX 8? - Stack Overflow
Which I replicate here:
Simply put:
setUserAgentStylesheet(STYLESHEET_CASPIAN);
...as the first line of your program (in the start() method), or run it with the JVM flag -Djavafx.userAgentStylesheetUrl=caspian.
Note the above method isn't present in JavaFX 2.x, so if you want to do this in code that compiles and runs on both Java 7 and 8, unfortunately the only way around it is via reflection.
The above demonstrates how to keep the entire look and feel of caspian (from Java 7) for Java 8.
If you want the default JavaFX 8 style (modena) for everything but tooltips, you can probably just copy and paste the tooltip styling css from caspian.css and put it in your application stylesheet (though I have not tried that so I'm not 100% sure it will work correctly for you). You can find modena.css and caspian.css in the JavaFX sources: java - Where to get the JavaFX sources? - Stack Overflow. For example caspian.css is here and it's tooltip styling code is copy and pasted below:
.tooltip {
-fx-skin: "com.sun.javafx.scene.control.skin.TooltipSkin";
-fx-background-color:
linear-gradient(#cec340, #a59c31),
linear-gradient(#fefefc, #e6dd71),
linear-gradient(#fef592, #e5d848);
-fx-background-insets: 0,1,2;
-fx-background-radius: 0 0 13 0;
-fx-padding: 0.333333em 0.666667em 0.333333em 0.666667em; /* 4 8 4 8 */
-fx-effect: dropshadow( three-pass-box , rgba(0,0,0,0.6) , 8, 0.0 , 0 , 0 );
.page-corner {
-fx-padding: 4.5 4.5 4.5 4.5;
-fx-background-color: linear-gradient( from 0% 0% to 50% 50%, #fcf7b6, #a59c31);
-fx-shape: "M0,0H9L0,9Z";
-fx-effect: dropshadow( three-pass-box , rgba(0,0,0,0.6) , 4 , 0.0 , 0 , 0 ); -
How can I know the version of Application Server Java Virtual Machine
How can I know the version of Application Server Java Virtual Machine?
Thanks a lot.Thats easy. Your jdk/jre are located in the App Server home directory. Just run the java command under the jdk directory with the "-version" switch and it will provide you with detailed information about your VM.
For example if you're doing it at command prompt it will be something like
java -versionI hope this will be useful to you.
Regards,
Wasif -
How can i execute excelsheet without giving path in java
Hi,
How can i execute excelsheet without giving path in java, through this code, you can open the notepad but
I want whereever the excel is installed in your machine , fine and open excelsheet without given absolute path.
class ExecuteCommand{
public static void main(String d[]){
Runtime r = Runtime.getRuntime();
Process p= null;
try{
p = r.exec("notepad");
catch(Exception e){
System.out.println("error");
If you know please send me your idea and code samples.
regards
Mohan kumarjust execute the exelfile with the Windows "start" command:
Runtime.exec("cmd /c start "+excelFileName);But this requires that Excel is the default application for the Excel file type (*.xls). You can test this by simply typing "start myTestExcel.xls" in a dos box. -
How can we get requester's user id using java code
Hi,
How can we get requester's user id using java code?
eg: If i had logged in as xelsysadm and request a resource for user uid101 on the userid field it should display uid101 and not xelsysadm.
also,
I have a resoure "A" which on revoking should also revoke resources B and C. How can it be done. Resource A, B, and C are 3 different resource objects.
==Thanks,
dokiOk, so there is a way, but it's not available during submission. You can use the findRequests api. From the result set, get the "Requests.Consolidated Data Value" value. In this information, you will get an xml formatted data. It provides the list of users on the request on the left side after submission. After the request is completed, this value is available. Upon completion, you could get the request information, get this value, and parse the information for user ids.
In the same adapter, use the following API:
formIntf.setObjectFormData(objInstanceKey, formHash)
The formHash is a hashtable containing the field name on your object form, and the values you wish to populate it with. You could create a textarea box on your object form and populate the userids for who the request is for.
However, this makes absolutely 0 sense. When you get a request, the list of userids are listed right there on the request.
-Kevin -
How can I fill structure from the line with contetnt of a XML file inside?
How can I fill structure from the line with contetnt of a XML file inside?
I have array of lines with XML documents inside. All XML's have the same structure.
I need to fill array of structures (with the same structure like given XML's) from data of these XML's.
How can I do this? I am trying Transformation with ora:parseEscapedXML, but receive error: "XPath expression failed to execute.
Error while processing xpath expression, the expression is "ora:processXSLT("Transformation_1.xsl", bpws:getVariableData("ProcessedFiles"))", the reason is javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: Could not find function: parseEscapedXML.
Please verify the xpath query."Ive posted the new code but now I'm getting a FileAlreadyExistException error. How do I handle this exception error correctly in my code?
import java.io.IOException;
import java.nio.file.FileAlreadyExistsException;
import java.nio.file.Files;
import java.nio.file.Paths;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
public class MyDomParser {
public static void main(String[] args) {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
try {
DocumentBuilder builder = factory.newDocumentBuilder();
Document doc = builder.parse("ENtemplate.xml");
doc.normalize();
NodeList rootNodes = doc.getElementsByTagName("templates");
Node rootNode = rootNodes.item(0);
Element rootElement = (Element) rootNode;
NodeList templateList = rootElement.getElementsByTagName("template");
for(int i=0; i < templateList.getLength(); i++) {
Node theTemplate = templateList.item(i);
Element templateElement = (Element) theTemplate;
System.out.println(templateElement.getAttribute("name")+ ".xml");
for(int i=0; i < templateList.getLength(); i++) {
Node theTemplate = templateList.item(i);
Element templateElement = (Element) theTemplate;
String fileName = templateElement.getAttribute("name") + ".xml";
Files.createFile(Paths.get(fileName));
System.out.println("File" + ":" + fileName + ".xml created");
} catch (ParserConfigurationException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (SAXException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace(); -
How can I connect my 3gen apple tv with HDMI to my BUSH LCD32TV022HD
This does not have an HDMI port but does have:-
1) S-Video I/P,
2) Video I/P,
3) Audio Input (Left & Right)
4) Audio In jack (for VGA and DVI source)
5) DVI input
6) VGA inputWelcome to the Apple community.
The Apple TV doesn't officially support a DVI connection, however you may be able to get it to work. You will first need to check that your TV supports either 720p or 1080p as well as HDCP. If you are able to get the video working over the DVI connection, you may also require a DAC in order to connect with Apple TV's optical audio output to the TVs audio imput.
You may well wish to make sure that the DVI connection works before spending any money on a DAC.. -
How can I use the old Apple TV with new iTunes? It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync. I can access the iTunes Store fine, just none of my Library
read this
https://discussions.apple.com/message/20429789#20429789
Maybe you are looking for
-
Problem with RZL_READ_DIR_LOCAL
Hi Experts, The Function module RZL_READ_DIR_LOCAL is reading the APPLICATION server AL11 directory path and list all the folders & file inside that directory into an internal table FILE_TBL. Since the size of the field FILE_TBL-NAME is 32 chars . So
-
Anything I should be worried about when installing Windows XP via Bootcamp?
Are there any common problems I might experience? It is a 100% legit key of Windows XP. I really don't want to ruin my macbook considering it took me a long time to save up my allowance for it. Will my mac still be under warranty if I install Windows
-
How to create multiple reports and dashboards from one dataset?
Hi there, I've centralized the data to an excel workbook from multiple data sources and added as a dataset to my new Power BI site. How can I build multiple reports and dashboards out of one dataset?
-
I just had major issues with my Mac and had to get a new logic board. When I got the computer back and tried to reinstall Photoshop- it says error 6. What do I do? It is impossible to get any phone number for adobe.
-
Query to display the tables with referential integrity
Hello, I need to display the Tables which are having referential integrity.. Like need to dispaly the parent and child tables Please give me some idea on this.. Thanks,