953 Posted Topics
Re: hmmmm, as I search on some forum (where I'm member of) nobody ..., just some fans plus tutorial (built-in in Netbeans) - [url]http://wiki.netbeans.org/JavaFXComposer[/url] much luck | |
Re: please learn to search on this forum, because last 3pages contains (majority of) same lesson | |
Re: are you meaning [url]http://download.oracle.com/javase/tutorial/uiswing/layout/none.html[/url] Absolute Positioning for GUI | |
Re: you always declare a new [CODE] char alphabet = (char) (encoded[i] + 65);[/CODE] insude for block declare once time before for block [CODE] alphabet = alphabet + (char) (encoded[i] + 65); //or same alphabet += (char) (encoded[i] + 65); [/CODE] what yre you tried with broken Html syntax [CODE]# String … | |
Re: problems isn't calculate some axe and coordinations between (lots or two) points, don't forget for acceleration or deceleration (linear/exponencial) best of from OP would be to write some GUI and calculate outPut from mouseMovements .... | |
Re: [CODE] if(test.containsKey(bigram1)) { test.get(bigram1).add(word_); break; } [/CODE] | |
Re: and if you don't like if-else-if-else ...., then just for Integer instance: [CODE] switch (integer) { case 1: //some stuff case 2: //...... case 3: // ... case 4: //... default: System.out.println("someWarning"); }[/CODE] | |
Re: no this thread is full of missintepretations, 1/ unknow GUI with static JComponents & Methods (tons of tutorials and runnables examples) 2/ unknow List<JPanel> myPanels = new ArrayList<JPanel> (lots of mistakes inc null prerformance) 3/ good concept doesn't required created JComponents on RunTime 4/ good concept doesn't *** by created … | |
Re: if your container JFrame, JPanel, JLabel ... just start with J, then paintComponent or paintIcon (JLabel) | |
Re: and these features comings from NativeOS (SubSystem), sure is possible overRide keyBindings [url]http://download.oracle.com/javase/tutorial/uiswing/events/index.html[/url] for JTextPane [url]http://download.oracle.com/javase/tutorial/uiswing/components/editorpane.html[/url] | |
Re: please, just once click the link posted by masijade | |
Re: there are: 1/ basic and strong Assembler's rounding mode [CODE] int baseInt = (doubleNumber + (0.05))/100 double roundedNumber = baseInt * 100[/CODE] 2/ rounding problems if NumberValue ends with 3,6,9, sometimes (lots of decimal places) I never check why, never solved, just ignored, compared with outPut/rounding from MsExcel [CODE] int … | |
Re: hmmmm, I'm not your debuger (sure maybe someone), but at 1st. sight [CODE] public final double[][] FILTER_3x3 = { {0.1, 0.1, 0.1}, {0.1, 0.4, 0.1}, {0.1, 0.1, 0.1} };[/CODE] luck with that | |
Re: one rule GC doesn't works inmediatelly, you can test that (anyTimes) with Runtime.getRuntime()#someMethods your topic says nothing about Thread(s), reference from snoorOracle [url]http://download.oracle.com/javase/tutorial/essential/concurrency/index.html[/url] remove nonStatic reference "objectName = new ObjectType();" | |
Re: [CODE]if (base==1 || power==0 )[/CODE] what's do you expects if base ==0 ??? you can start with [CODE]import java.util.Scanner; public class Power { public static int integerPower(int ba, int pow) { int base = ba; int power = pow; int x = 1; if (base > 0) { if (power … | |
Re: huuuh, so long ... with Mac, I think that's predinosaurus API, sure maybe I wrong, but depends == which instaled Mac OS version if is possible, please todays java ATW(equivalent is WindowListener) + Swing coming from Java 1.6 | |
Re: you didn't pay me for attentions, maybe around is some *** who accepted and agreed with [CODE]asap!!![/CODE] much luck | |
Re: please what...., and with OOP sure settings for ... tons NetBeans tutorials or NetBeansForum | |
Re: calcDisplayF = new JFormattedTextField(); [url]http://download.oracle.com/javase/tutorial/uiswing/components/formattedtextfield.html[/url] | |
Re: maybe would be better search for [CODE]varName = System.getProperty("SystemEnviromentAsString");[/CODE] | |
Re: hmmm Jindent is very powerfull code formatter to OP what's/are hint(s) about error by returns your IDE, I think that Robert has detailed examples, licence and TOC too on your pages, isn't it | |
Re: [url]http://download.oracle.com/javase/tutorial/uiswing/components/formattedtextfield.html[/url] [url]http://download.oracle.com/javase/tutorial/uiswing/examples/components/FormattedTextFieldDemoProject/src/components/FormattedTextFieldDemo.java[/url] | |
| |
Re: all possible dimension, combinations for outPut (my view), because withOut any restrictions are follows: 1 2 3 12 13 21 23 31 32 123 132 213 231 312 321 | |
Re: @ Buffalo101 wrote [CODE]that detects mouse clicks aren't coming from the mouse, but are generated by a program[/CODE] coming from Robot???, that's no good idea, but anyway ... just to add (or create someClass extends MouseAdapter) there you have overRide [CODE] public void mousePressed(MouseEvent e) {... public void mouseDragged(MouseEvent e) … | |
Re: how are you, what did you last week, your last thread largely dissipated, last two weeks shows a few threads about (except yours) java.util.Date and how to test/convert/return Month in String as Month Integer hmmm back to ... your syntax isn't valid for java.util.Date, near to new GergorianCalendar(2011, Calendar.MARCH, 11) … | |
Re: [CODE]import java.awt.AlphaComposite; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.EventQueue; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.geom.Ellipse2D; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import javax.swing.BorderFactory; import javax.swing.BoxLayout; import javax.swing.ButtonGroup; import javax.swing.Icon; import javax.swing.JButton; import javax.swing.JColorChooser; import javax.swing.JComboBox; import javax.swing.JFrame; … | |
Re: lucky man today [url]http://forums.oracle.com/forums/thread.jspa?threadID=2189342&tstart=0[/url] | |
Re: look here [url]http://www.daniweb.com/software-development/java/threads/352362[/url] this thread contains basis drawing methods - don't extends topLayoutContainer(lots of bugs), purpose publish shortiest code to some example depot - don't call thread.sleep(int), withOut any purposes, just lock repaint on EDT - and same advices from your prevoius thread, because you don't learn anything from ...., … | |
Re: [url]http://download.oracle.com/javase/tutorial/uiswing/components/table.html[/url] and runnable examples [url]http://www.java2s.com/Code/Java/Swing-JFC/Table.htm[/url] | |
Re: that so hard to speak about that, if you really needed some hepl, then you have to send runnable example, shots to the dark, common mistakes paintCOmponent instead of paint setOpaque(false) | |
Re: for some of us is SqlInjection == Query execute SubQuerries, but for some of us is SqlInjection == execute malicious code by using Sql Statements :-), too | |
![]() | |
Re: algebra exactly calculated with rounding upTo/downTo on (in your case two )DecimalPlaces | |
Re: who's want <......> your compilator why didn't you <.......> error from compilator hmmm interesting, isn't it [Hint(s): [url]http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html[/url] [url]http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Date.html[/url] | |
Re: hard to speak about GC in (you & me) form and his form advice: [CODE] //if you declare some Array (hint by JamesCherrill) int[][] myArray = new int[2][3]; //then complete delete is crate new Object again myArray = new int[2][3]; [/CODE] nothing else | |
Re: this example is very similair to old SWT Widget [CODE]import java.awt.*; import java.awt.event.*; import java.awt.font.*; import java.awt.image.BufferedImage; import javax.swing.*; public class ExpandingPanels extends MouseAdapter { private ActionPanel[] aps; private JPanel[] panels; public ExpandingPanels() { assembleActionPanels(); assemblePanels(); } @Override public void mousePressed(MouseEvent e) { ActionPanel ap = (ActionPanel) e.getSource(); if (ap.target.contains(e.getPoint())) … | |
Re: welcome on this forum can you be so little bit concrete, because there are areas or options or posibilities | |
Re: no idea, so this formula (if i removed "return printLCS") is valid for MsExcel | |
Re: you have to add (for JButtons just with functions) [url]http://download.oracle.com/javase/tutorial/uiswing/components/button.html[/url] ActionListener [url]http://download.oracle.com/javase/tutorial/uiswing/events/actionlistener.html[/url] | |
Re: my wrong, mistake Add... @ JamesCherrill maybe not mistake, your post wasn't complete infos, I'm missing here 2.nd coins side, just my view <OT>I'm against local static variable, shows about not good and correct code conceptions and knowledges how (f.e.) Static Variable works, </OT> and there is boomerang returns, side … | |
Re: sure tons of examples [url]http://download.oracle.com/javase/tutorial/uiswing/components/table.html[/url] and [url]http://www.java2s.com/Code/Java/Swing-JFC/Table.htm[/url] | |
Re: whole for statements (loop) in public void Ascending() you can replace just with acs Collections.sort(myArrayName); desc Collections.sort(myArrayName, Collections.reverseOrder()); | |
Re: move chars from lines 5. and 6. behing int stateCode = 0; | |
Re: no idea with this code snipped, but: 1/ change jTextField1 to [url]http://download.oracle.com/javase/tutorial/uiswing/components/formattedtextfield.html[/url] - Number Instance, just allovee chars 0-9 adtv.. - remove parse - integer Instance - double Instance 2/ JTextArea is very EDT sensitive, probably more that 50pct you never show ... pack this outPut only [CODE] addToTextArea("Report of … |
The End.