91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 715KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-06-03
  • 語言: Java
  • 標(biāo)簽: 地址變換??

資源簡介

編程演示三種存儲管理方式的地址換算過程: 1、分頁方式的地址換算 2、分段方式的地址換算 3、段頁式的地址換算 要求演示正確、清晰,編程所用工具不限。這里用Java語言,工具為myeclipse,實現(xiàn)動畫演示。

資源截圖

代碼片段和文件信息

/*
?*?AddressConversion.java
?*
?*?Created?on?__DATE__?__TIME__
?*/

package?cn.com.address;

import?java.awt.Dimension;
import?java.awt.Font;
import?java.awt.Graphics;
import?java.awt.Toolkit;

import?javax.swing.JOptionPane;

/**
?*
?*?@author??__USER__
?*/
@SuppressWarnings(“serial“)
public?class?AddressConversion?extends?javax.swing.Jframe?implements?Runnable?{

private?PageAddressCon?pageAddCon;
private?SegmentAddressCon?segAddCon;
private?SegmentPageMemory?segpageCon;

private?int?segmentNumber;?//段號
private?int?logicalAddress;
int?x?y;//分別代表x軸和y軸的坐標(biāo)
int?width?height;
int?x1?x2?y1?y2;
private?final?int?TOP_MARGIN?=?80;?//頂邊距
private?final?int?base_MARGIN?=?63;//底邊距
private?final?int?RIGHT_MARGIN?=?318;//右邊距
private?final?int?LEFT_MARGIN?=?50;//左邊距

private?boolean?drawPage?=?false;
private?boolean?drawSeg?=?false;
private?boolean?drawSP?=?false;
private?boolean?selectPage?=?true;
private?boolean?selectSeg?=?false;
private?boolean?selectSP?=?false;
private?boolean?isDefault?=?true;
private?boolean?isHandoff?=?false;
Font?font?=?new?Font(“宋體“?Font.PLAIN?15);

/**?Creates?new?form?AddressConversion?*/
public?AddressConversion()?{
initopera();
initComponents();
}

/**?This?method?is?called?from?within?the?constructor?to
?*?initialize?the?form.
?*?WARNING:?Do?NOT?modify?this?code.?The?content?of?this?method?is
?*?always?regenerated?by?the?Form?Editor.
?*/
//GEN-BEGIN:initComponents
//?
private?void?initComponents()?{

new?javax.swing.JPopupMenu();
jPanel1?=?new?javax.swing.JPanel();
jPanel3?=?new?javax.swing.JPanel();
jToolBar1?=?new?javax.swing.JToolBar();
jButton1?=?new?javax.swing.JButton();
jButton2?=?new?javax.swing.JButton();
jButton3?=?new?javax.swing.JButton();
jButton4?=?new?javax.swing.JButton();
jPanel2?=?new?javax.swing.JPanel();
jButton5?=?new?javax.swing.JButton();
jLabel1?=?new?javax.swing.JLabel();
jTextField1?=?new?javax.swing.JTextField();
jLabel2?=?new?javax.swing.JLabel();
jTextField2?=?new?javax.swing.JTextField();
jLabel3?=?new?javax.swing.JLabel();
jTextField3?=?new?javax.swing.JTextField();
jLabel4?=?new?javax.swing.JLabel();
jTextField4?=?new?javax.swing.JTextField();
jLabel5?=?new?javax.swing.JLabel();
jTextField5?=?new?javax.swing.JTextField();
jLabel6?=?new?javax.swing.JLabel();
jTextField6?=?new?javax.swing.JTextField();
button1?=?new?java.awt.Button();
button2?=?new?java.awt.Button();
jMenuBar1?=?new?javax.swing.JMenuBar();
jMenu1?=?new?javax.swing.JMenu();
jMenu3?=?new?javax.swing.JMenu();
jSeparator1?=?new?javax.swing.JSeparator();
jMenuItem1?=?new?javax.swing.JMenuItem();
jMenuItem2?=?new?javax.swing.JMenuItem();
jMenuItem3?=?new?javax.swing.JMenuItem();
jSeparator2?=?new?javax.swing.JSeparator();
jMenuItem4?=?new?javax.swing.JMenuItem();
jMenu2?=?new?

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

????..A..H.???????162??2010-07-17?11:08??源碼及文檔\文檔\~$系統(tǒng)課程設(shè)計報告.doc

?????文件?????605184??2010-07-06?10:11??源碼及文檔\文檔\操作系統(tǒng)課程設(shè)計報告.doc

?????文件????????492??2010-07-03?16:44??源碼及文檔\源代碼\operatingsystem\.classpath

?????文件????????391??2010-06-24?14:46??源碼及文檔\源代碼\operatingsystem\.project

?????文件????????629??2010-06-24?14:46??源碼及文檔\源代碼\operatingsystem\.settings\org.eclipse.jdt.core.prefs

?????文件????????836??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$1.class

?????文件????????838??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$10.class

?????文件????????839??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$11.class

?????文件????????839??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$12.class

?????文件????????839??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$13.class

?????文件????????839??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$14.class

?????文件????????839??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$15.class

?????文件????????839??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$16.class

?????文件????????839??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$17.class

?????文件????????839??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$18.class

?????文件????????839??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$19.class

?????文件????????836??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$2.class

?????文件????????839??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$20.class

?????文件????????839??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$21.class

?????文件????????839??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$22.class

?????文件????????839??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$23.class

?????文件????????839??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$24.class

?????文件????????839??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$25.class

?????文件????????836??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$3.class

?????文件????????836??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$4.class

?????文件????????836??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$5.class

?????文件????????836??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$6.class

?????文件????????836??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$7.class

?????文件????????836??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$8.class

?????文件????????836??2010-07-05?13:50??源碼及文檔\源代碼\operatingsystem\bin\cn\com\address\AddressConversion$9.class

............此處省略58個文件信息

評論

共有 條評論

相關(guān)資源