How to cast int to short
Tech-Archive recommends: Fix windows errors by optimizing your registry
I have a custom function which accept short as parameter.
for example:
public void myFun(short myShor)
{...}
Now I have a integer (int i), I want to take as the aprameter of myFun,
How can I cast i to short ?
.
Relevant Pages
- Re: Java API sound
... I was using mixer but port is better solution; ... private void CreateInterface ... public void actionPerformed{ ... int d = -1; ... (comp.lang.java.programmer) - Re: mehrfach unterstreichen =?ISO-8859-1?Q?m=F6glich=3F?=
... private void init() { ... private void fill(DefaultMutableTreeNode node, int depth) { ... public void changedUpdate{ ... return vGap; ... (de.comp.lang.java) - JFrame Resize Issues (Redux)
... However, when the LookAndFeel is set, Java's Window Manager ... public int OffSetX = 0; ... private Rectangle positRectangle; ... public void componentHidden{ ... (comp.lang.java.programmer) - Re: mehrfach unterstreichen =?ISO-8859-1?Q?m=F6glich=3F?=
... */ public class FlowDOMView extends JPanel {private DefaultTreeModel model = null; ... private void fill(DefaultMutableTreeNode node, int depth) { ... public void changedUpdate{ ... return vGap; ... (de.comp.lang.java) - Re: custom table cell focus traversal
... //the focus to the first textfield. ... public void makeTextBoxes{ ... int column) { ... ConnectionTableModel ctm = table.getModel; ... (comp.lang.java.gui) |
|